diff mercurial/util.py @ 29433:33770d2b6cf9

py3: conditionalize SocketServer import The SocketServer is renamed to socketserver in python 3
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 27 Jun 2016 16:48:54 +0530
parents 34b914ac573e
children 0c741fd6158a
line wrap: on
line diff
--- a/mercurial/util.py	Mon Jun 27 16:37:37 2016 +0530
+++ b/mercurial/util.py	Mon Jun 27 16:48:54 2016 +0530
@@ -54,6 +54,7 @@
     # we do import urlreq, but we do it outside the loop
     #'urlreq',
     'stringio',
+    'socketserver',
     'xmlrpclib',
 ):
     globals()[attr] = getattr(pycompat, attr)