From 93379625e26c98a8cfab72c106ae40819843f956 Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 24 Apr 2014 00:35:10 +0530 Subject: remove relative imports --- python/examples/dev-console.py | 2 -- python/examples/here-now-example.py | 2 -- python/examples/history-example.py | 2 -- python/examples/publish-example.py | 2 -- python/examples/subscribe-example.py | 2 -- 5 files changed, 10 deletions(-) (limited to 'python/examples') diff --git a/python/examples/dev-console.py b/python/examples/dev-console.py index 868ba7c..6ff5209 100755 --- a/python/examples/dev-console.py +++ b/python/examples/dev-console.py @@ -10,8 +10,6 @@ ## ----------------------------------- import sys -sys.path.append('../') -sys.path.append('../../') from Pubnub import Pubnub from optparse import OptionParser diff --git a/python/examples/here-now-example.py b/python/examples/here-now-example.py index 0888410..9bb448c 100644 --- a/python/examples/here-now-example.py +++ b/python/examples/here-now-example.py @@ -10,8 +10,6 @@ ## ----------------------------------- import sys -sys.path.append('../') -sys.path.append('./') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python/examples/history-example.py b/python/examples/history-example.py index b5cc1fd..092c929 100755 --- a/python/examples/history-example.py +++ b/python/examples/history-example.py @@ -1,6 +1,4 @@ import sys -sys.path.append('../') -sys.path.append('./') from Pubnub import Pubnub ## Initiat Class diff --git a/python/examples/publish-example.py b/python/examples/publish-example.py index ebf3c73..69ea053 100755 --- a/python/examples/publish-example.py +++ b/python/examples/publish-example.py @@ -11,8 +11,6 @@ import sys from twisted.internet import reactor -sys.path.append('../') -sys.path.append('../../') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python/examples/subscribe-example.py b/python/examples/subscribe-example.py index 0a18899..0b1c949 100755 --- a/python/examples/subscribe-example.py +++ b/python/examples/subscribe-example.py @@ -1,6 +1,4 @@ import sys -sys.path.append('..') -sys.path.append('.') import threading import time import random -- cgit v1.2.3