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-twisted/examples/here-now-example.py | 2 -- python-twisted/examples/history-example.py | 1 - python-twisted/examples/publish-example.py | 2 -- python-twisted/examples/subscribe-example.py | 1 - python-twisted/examples/uuid-example.py | 1 - python-twisted/tests/benchmark.py | 1 - python-twisted/tests/delivery.py | 1 - python-twisted/tests/subscribe-test.py | 1 - python-twisted/tests/unit-test-full.py | 3 --- python-twisted/tests/unit-tests.py | 4 ---- 10 files changed, 17 deletions(-) (limited to 'python-twisted') diff --git a/python-twisted/examples/here-now-example.py b/python-twisted/examples/here-now-example.py index 14f45c4..0f34f36 100644 --- a/python-twisted/examples/here-now-example.py +++ b/python-twisted/examples/here-now-example.py @@ -10,8 +10,6 @@ ## ----------------------------------- import sys -sys.path.append('..') -sys.path.append('../../common') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/examples/history-example.py b/python-twisted/examples/history-example.py index f128cd7..72c7445 100644 --- a/python-twisted/examples/history-example.py +++ b/python-twisted/examples/history-example.py @@ -11,7 +11,6 @@ import sys from twisted.internet import reactor -sys.path.append('../') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/examples/publish-example.py b/python-twisted/examples/publish-example.py index 6b5b19a..5d6cc29 100644 --- a/python-twisted/examples/publish-example.py +++ b/python-twisted/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-twisted/examples/subscribe-example.py b/python-twisted/examples/subscribe-example.py index 168a2d2..b261b0d 100644 --- a/python-twisted/examples/subscribe-example.py +++ b/python-twisted/examples/subscribe-example.py @@ -11,7 +11,6 @@ import sys from twisted.internet import reactor -sys.path.append('../') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/examples/uuid-example.py b/python-twisted/examples/uuid-example.py index 581051b..840f48c 100644 --- a/python-twisted/examples/uuid-example.py +++ b/python-twisted/examples/uuid-example.py @@ -11,7 +11,6 @@ import sys from twisted.internet import reactor -sys.path.append('../') from Pubnub import Pubnub ## ----------------------------------------------------------------------- diff --git a/python-twisted/tests/benchmark.py b/python-twisted/tests/benchmark.py index d4d6d80..0e7b809 100644 --- a/python-twisted/tests/benchmark.py +++ b/python-twisted/tests/benchmark.py @@ -12,7 +12,6 @@ import sys import datetime from twisted.internet import reactor -sys.path.append('../') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/tests/delivery.py b/python-twisted/tests/delivery.py index 3ba221b..d36e895 100644 --- a/python-twisted/tests/delivery.py +++ b/python-twisted/tests/delivery.py @@ -14,7 +14,6 @@ import datetime import time import math -sys.path.append('../') from Pubnub import Pubnub ## ----------------------------------------------------------------------- diff --git a/python-twisted/tests/subscribe-test.py b/python-twisted/tests/subscribe-test.py index 6ff4a35..aca63ba 100755 --- a/python-twisted/tests/subscribe-test.py +++ b/python-twisted/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-twisted/tests/unit-test-full.py b/python-twisted/tests/unit-test-full.py index f8be1cc..374772f 100644 --- a/python-twisted/tests/unit-test-full.py +++ b/python-twisted/tests/unit-test-full.py @@ -18,9 +18,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' diff --git a/python-twisted/tests/unit-tests.py b/python-twisted/tests/unit-tests.py index d0e5722..169e1f1 100644 --- a/python-twisted/tests/unit-tests.py +++ b/python-twisted/tests/unit-tests.py @@ -2,10 +2,6 @@ import sys import time -sys.path.append('../../common') -sys.path.append('../common') -sys.path.append('..') -sys.path.append('.') from PubnubUnitTest import Suite from Pubnub import Pubnub -- cgit v1.2.3