aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2013-02-25 22:18:51 +0530
committerDevendra2013-02-25 22:18:51 +0530
commit12aee359893dcdfee2c958ef4c8c98b493b267e6 (patch)
tree33418571eaff8e5d99adf0ed32f5e760c2a73321
parentb4258b8b05544cb1a730550cbc1d87c6ef12eea6 (diff)
downloadpubnub-python-12aee359893dcdfee2c958ef4c8c98b493b267e6.tar.bz2
removing path append, need to use PYTHONPATH when running examples or tests from command line
-rw-r--r--python-twisted/Pubnub.py5
-rw-r--r--python/3.3/Pubnub.py1
2 files changed, 0 insertions, 6 deletions
diff --git a/python-twisted/Pubnub.py b/python-twisted/Pubnub.py
index c52bf6d..b0541c9 100644
--- a/python-twisted/Pubnub.py
+++ b/python-twisted/Pubnub.py
@@ -14,9 +14,6 @@ import time
import hashlib
import urllib2
import uuid
-sys.path.append('../')
-sys.path.append('../../')
-sys.path.append('../../../')
from PubnubCoreAsync import PubnubCoreAsync
try:
from hashlib import sha256
@@ -33,8 +30,6 @@ from twisted.web.client import Agent, ContentDecoderAgent, RedirectAgent, GzipDe
from twisted.web.client import HTTPConnectionPool
from twisted.web.http_headers import Headers
from PubnubCrypto import PubnubCrypto
-import gzip
-import zlib
from twisted.internet.ssl import ClientContextFactory
pnconn_pool = HTTPConnectionPool(reactor, persistent=True)
diff --git a/python/3.3/Pubnub.py b/python/3.3/Pubnub.py
index 5df77d5..e806f9b 100644
--- a/python/3.3/Pubnub.py
+++ b/python/3.3/Pubnub.py
@@ -12,7 +12,6 @@
try: import json
except ImportError: import simplejson as json
import sys
-sys.path.append('../..')
import time
import hashlib
import urllib2