aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-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
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'