summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bugzilla/base.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py
index 04b7883..b316cac 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -9,7 +9,11 @@
# option) any later version. See http://www.gnu.org/copyleft/gpl.html for
# the full text of the license.
-import xmlrpclib, urllib2, cookielib
+import xmlrpclib, urllib2
+try:
+ import cookielib
+except ImportError:
+ import ClientCookie as cookielib
import os.path, base64
import logging
log = logging.getLogger('bugzilla')