diff options
| author | Devendra | 2014-04-24 00:35:10 +0530 | 
|---|---|---|
| committer | Devendra | 2014-04-24 00:35:10 +0530 | 
| commit | 93379625e26c98a8cfab72c106ae40819843f956 (patch) | |
| tree | fafb0b0a0f01dbf6bbea256970a22eca49037e7f /python | |
| parent | 493e29a108255eb3ae3166dc920f40e2f4e5c4c4 (diff) | |
| download | pubnub-python-93379625e26c98a8cfab72c106ae40819843f956.tar.bz2 | |
remove relative imports
Diffstat (limited to 'python')
| -rwxr-xr-x | python/examples/dev-console.py | 2 | ||||
| -rw-r--r-- | python/examples/here-now-example.py | 2 | ||||
| -rwxr-xr-x | python/examples/history-example.py | 2 | ||||
| -rwxr-xr-x | python/examples/publish-example.py | 2 | ||||
| -rwxr-xr-x | python/examples/subscribe-example.py | 2 | ||||
| -rwxr-xr-x | python/tests/detailed-history-unit-test.py | 3 | ||||
| -rwxr-xr-x | python/tests/subscribe-test.py | 1 | ||||
| -rwxr-xr-x | python/tests/unit-test.py | 3 | 
8 files changed, 0 insertions, 17 deletions
| 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 diff --git a/python/tests/detailed-history-unit-test.py b/python/tests/detailed-history-unit-test.py index b1500b4..9663de9 100755 --- a/python/tests/detailed-history-unit-test.py +++ b/python/tests/detailed-history-unit-test.py @@ -10,9 +10,6 @@  ## -----------------------------------  import sys -sys.path.append('.') -sys.path.append('..') -sys.path.append('../common')  from Pubnub import Pubnub  import unittest as unittest diff --git a/python/tests/subscribe-test.py b/python/tests/subscribe-test.py index d8a3ea2..a2bafde 100755 --- a/python/tests/subscribe-test.py +++ b/python/tests/subscribe-test.py @@ -10,7 +10,6 @@  ## -----------------------------------  import sys -sys.path.append('../')  import datetime  from Pubnub import Pubnub  from functools import partial diff --git a/python/tests/unit-test.py b/python/tests/unit-test.py index fd1bb97..a9a462c 100755 --- a/python/tests/unit-test.py +++ b/python/tests/unit-test.py @@ -10,9 +10,6 @@  ## -----------------------------------  import sys -sys.path.append('.') -sys.path.append('..') -sys.path.append('../common')  from Pubnub import Pubnub  publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' | 
