projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
842e80e
)
Fix tweepy.debug() by using six's module helpers.
author
Joshua Roesslein
<jroesslein@opengov.com>
Wed, 10 Dec 2014 02:59:49 +0000
(18:59 -0800)
committer
Joshua Roesslein
<jroesslein@opengov.com>
Wed, 10 Dec 2014 02:59:49 +0000
(18:59 -0800)
tweepy/__init__.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/__init__.py
b/tweepy/__init__.py
index a1b2d33c78148d37870d181d911af3134ebbdec7..4be5a5a7af665567b12b80fb1e307593c74b1157 100644
(file)
--- a/
tweepy/__init__.py
+++ b/
tweepy/__init__.py
@@
-21,6
+21,5
@@
from tweepy.cursor import Cursor
api = API()
def debug(enable=True, level=1):
- pass
- # import http.client
- # http.client.HTTPConnection.debuglevel = level
+ from six.moves.http_client import HTTPConnection
+ HTTPConnection.debuglevel = level