From 12aee359893dcdfee2c958ef4c8c98b493b267e6 Mon Sep 17 00:00:00 2001 From: Devendra Date: Mon, 25 Feb 2013 22:18:51 +0530 Subject: removing path append, need to use PYTHONPATH when running examples or tests from command line --- python-twisted/Pubnub.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'python-twisted') 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) -- cgit v1.2.3