diff options
Diffstat (limited to 'gitlab/__init__.py')
-rw-r--r-- | gitlab/__init__.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gitlab/__init__.py b/gitlab/__init__.py index a9cbf89..c1d86eb 100644 --- a/gitlab/__init__.py +++ b/gitlab/__init__.py @@ -383,10 +383,7 @@ class Gitlab(object): def enable_debug(self): import logging - try: - from http.client import HTTPConnection # noqa - except ImportError: - from httplib import HTTPConnection # noqa + from http.client import HTTPConnection # noqa HTTPConnection.debuglevel = 1 logging.basicConfig() |