diff mercurial/pycompat.py @ 31579:55c6788c54e2

py3: stop exporting urlparse from pycompat and util (API) There are no consumers of this in tree. Functions formerly available on this object/module can now be accessed via {pycompat,util}.urlreq.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 21 Mar 2017 22:47:49 -0700
parents e68932dfbb55
children 7d2cbe11ae48
line wrap: on
line diff
--- a/mercurial/pycompat.py	Tue Mar 21 22:46:17 2017 -0700
+++ b/mercurial/pycompat.py	Tue Mar 21 22:47:49 2017 -0700
@@ -22,14 +22,12 @@
     import httplib
     import Queue as _queue
     import SocketServer as socketserver
-    import urlparse
     import xmlrpclib
 else:
     import http.client as httplib
     import pickle
     import queue as _queue
     import socketserver
-    import urllib.parse as urlparse
     import xmlrpc.client as xmlrpclib
 
 if ispy3: