##// END OF EJS Templates
util: make cookielib module available...
Gregory Szorc -
r31934:12aca677 default
parent child Browse files
Show More
@@ -18,12 +18,14 b' import sys'
18 ispy3 = (sys.version_info[0] >= 3)
18 ispy3 = (sys.version_info[0] >= 3)
19
19
20 if not ispy3:
20 if not ispy3:
21 import cookielib
21 import cPickle as pickle
22 import cPickle as pickle
22 import httplib
23 import httplib
23 import Queue as _queue
24 import Queue as _queue
24 import SocketServer as socketserver
25 import SocketServer as socketserver
25 import xmlrpclib
26 import xmlrpclib
26 else:
27 else:
28 import http.cookielib as cookielib
27 import http.client as httplib
29 import http.client as httplib
28 import pickle
30 import pickle
29 import queue as _queue
31 import queue as _queue
@@ -49,6 +49,7 b' from . import ('
49 pycompat,
49 pycompat,
50 )
50 )
51
51
52 cookielib = pycompat.cookielib
52 empty = pycompat.empty
53 empty = pycompat.empty
53 httplib = pycompat.httplib
54 httplib = pycompat.httplib
54 httpserver = pycompat.httpserver
55 httpserver = pycompat.httpserver
General Comments 0
You need to be logged in to leave comments. Login now