aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/unit-test-async.py3
-rw-r--r--python-tornado/examples/publish-example.py2
-rw-r--r--python-tornado/examples/subscribe-example.py2
-rw-r--r--python-tornado/examples/uuid-example.py1
-rw-r--r--python-tornado/tests/benchmark.py3
-rw-r--r--python-tornado/tests/delivery.py1
-rwxr-xr-xpython-tornado/tests/subscribe-test.py1
-rw-r--r--python-tornado/tests/unit-tests.py4
-rw-r--r--python-twisted/examples/here-now-example.py2
-rw-r--r--python-twisted/examples/history-example.py1
-rw-r--r--python-twisted/examples/publish-example.py2
-rw-r--r--python-twisted/examples/subscribe-example.py1
-rw-r--r--python-twisted/examples/uuid-example.py1
-rw-r--r--python-twisted/tests/benchmark.py1
-rw-r--r--python-twisted/tests/delivery.py1
-rwxr-xr-xpython-twisted/tests/subscribe-test.py1
-rw-r--r--python-twisted/tests/unit-test-full.py3
-rw-r--r--python-twisted/tests/unit-tests.py4
-rwxr-xr-xpython/examples/dev-console.py2
-rw-r--r--python/examples/here-now-example.py2
-rwxr-xr-xpython/examples/history-example.py2
-rwxr-xr-xpython/examples/publish-example.py2
-rwxr-xr-xpython/examples/subscribe-example.py2
-rwxr-xr-xpython/tests/detailed-history-unit-test.py3
-rwxr-xr-xpython/tests/subscribe-test.py1
-rwxr-xr-xpython/tests/unit-test.py3
26 files changed, 0 insertions, 51 deletions
diff --git a/common/unit-test-async.py b/common/unit-test-async.py
index 8123fdb..c4dfb65 100644
--- a/common/unit-test-async.py
+++ b/common/unit-test-async.py
@@ -12,9 +12,6 @@
import sys
import time
import random
-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/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
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
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'