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-tornado/examples/publish-example.py | 2 -- python-tornado/examples/subscribe-example.py | 2 -- python-tornado/examples/uuid-example.py | 1 - python-tornado/tests/benchmark.py | 3 --- python-tornado/tests/delivery.py | 1 - python-tornado/tests/subscribe-test.py | 1 - python-tornado/tests/unit-tests.py | 4 ---- 7 files changed, 14 deletions(-) (limited to 'python-tornado') diff --git a/python-tornado/examples/publish-example.py b/python-tornado/examples/publish-example.py index 38d713c..b02c41f 100644 --- a/python-tornado/examples/publish-example.py +++ b/python-tornado/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-tornado/examples/subscribe-example.py b/python-tornado/examples/subscribe-example.py index 34ee886..0724fa9 100644 --- a/python-tornado/examples/subscribe-example.py +++ b/python-tornado/examples/subscribe-example.py @@ -11,8 +11,6 @@ import sys import tornado -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-tornado/examples/uuid-example.py b/python-tornado/examples/uuid-example.py index 33e19f8..a1cabf6 100644 --- a/python-tornado/examples/uuid-example.py +++ b/python-tornado/examples/uuid-example.py @@ -11,7 +11,6 @@ import sys import tornado -sys.path.append('../') from Pubnub import Pubnub ## ----------------------------------------------------------------------- diff --git a/python-tornado/tests/benchmark.py b/python-tornado/tests/benchmark.py index 9d1840e..636a87a 100644 --- a/python-tornado/tests/benchmark.py +++ b/python-tornado/tests/benchmark.py @@ -12,9 +12,6 @@ import sys import datetime import tornado -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-tornado/tests/delivery.py b/python-tornado/tests/delivery.py index cb04332..d0eb9f9 100644 --- a/python-tornado/tests/delivery.py +++ b/python-tornado/tests/delivery.py @@ -14,7 +14,6 @@ import datetime import time import math -sys.path.append('../') from Pubnub import Pubnub ## ----------------------------------------------------------------------- diff --git a/python-tornado/tests/subscribe-test.py b/python-tornado/tests/subscribe-test.py index d8a3ea2..a2bafde 100755 --- a/python-tornado/tests/subscribe-test.py +++ b/python-tornado/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-tornado/tests/unit-tests.py b/python-tornado/tests/unit-tests.py index b4b51f4..0069a5c 100644 --- a/python-tornado/tests/unit-tests.py +++ b/python-tornado/tests/unit-tests.py @@ -1,10 +1,6 @@ import sys -sys.path.append('../../common') -sys.path.append('..') -sys.path.append('../common') -sys.path.append('.') from PubnubUnitTest import Suite from Pubnub import Pubnub -- cgit v1.2.3