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

benjamin.peterson python-checkins at python.org
Sun Aug 8 00:52:06 CEST 2010


Author: benjamin.peterson
Date: Sun Aug  8 00:52:06 2010
New Revision: 83790

Log:
unicode literal

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	Sun Aug  8 00:52:06 2010
@@ -123,7 +123,7 @@
             for member in members:
                 member = member.value
                 # we only care about the actual members
-                if member != ',':
+                if member != u',':
                     for change in MAPPING[mod_member.value]:
                         if member in change[1]:
                             if change[0] in mod_dict:


More information about the Python-checkins mailing list