[Python-checkins] r86157 - sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py

georg.brandl python-checkins at python.org
Thu Nov 4 09:35:30 CET 2010


Author: georg.brandl
Date: Thu Nov  4 09:35:30 2010
New Revision: 86157

Log:
#10286: fix urllib class names.

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

Modified: sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py	(original)
+++ sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py	Thu Nov  4 09:35:30 2010
@@ -12,7 +12,7 @@
 
 MAPPING = {"urllib":  [
                 ("urllib.request",
-                    ["URLOpener", "FancyURLOpener", "urlretrieve",
+                    ["URLopener", "FancyURLopener", "urlretrieve",
                      "_urlopener", "urlopen", "urlcleanup",
                      "pathname2url", "url2pathname"]),
                 ("urllib.parse",


More information about the Python-checkins mailing list