Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
8670dc8d
Commit
8670dc8d
authored
Dec 09, 2014
by
Joshua Roesslein
Browse files
Fix tweepy.debug() by using six's module helpers.
parent
842e80e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/__init__.py
View file @
8670dc8d
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment