[Python-checkins] r64863 - sandbox/trunk/2to3/lib2to3/fixes/fix_imports.py

brett.cannon python-checkins at python.org
Fri Jul 11 02:42:33 CEST 2008


Author: brett.cannon
Date: Fri Jul 11 02:42:32 2008
New Revision: 64863

Log:
Add urlparse -> urllib.parse to fix_imports.

Modified:
   sandbox/trunk/2to3/lib2to3/fixes/fix_imports.py

Modified: sandbox/trunk/2to3/lib2to3/fixes/fix_imports.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixes/fix_imports.py	(original)
+++ sandbox/trunk/2to3/lib2to3/fixes/fix_imports.py	Fri Jul 11 02:42:32 2008
@@ -272,6 +272,9 @@
            'commands': ('subprocess', ['getstatusoutput', 'getoutput']),
            'UserString' : ('collections', ['UserString']),
            'UserList' : ('collections', ['UserList']),
+           'urlparse' : ('urllib.parse',
+                            ['urlparse', 'urlunparse', 'urlsplit',
+                            'urlunsplit', 'urljoin', 'urldefrag']),
 }
 
 


More information about the Python-checkins mailing list