[Python-checkins] r61401 - in sandbox/trunk/2to3: fixes/fix_methodattrs.py tests/test_fixers.py

collin.winter python-checkins at python.org
Sat Mar 15 15:37:18 CET 2008


Author: collin.winter
Date: Sat Mar 15 15:37:18 2008
New Revision: 61401

Modified:
   sandbox/trunk/2to3/fixes/fix_methodattrs.py
   sandbox/trunk/2to3/tests/test_fixers.py
Log:
Fix two tab/space mixtures.

Modified: sandbox/trunk/2to3/fixes/fix_methodattrs.py
==============================================================================
--- sandbox/trunk/2to3/fixes/fix_methodattrs.py	(original)
+++ sandbox/trunk/2to3/fixes/fix_methodattrs.py	Sat Mar 15 15:37:18 2008
@@ -19,5 +19,5 @@
 
     def transform(self, node, results):
         attr = results["attr"][0]
-	new = MAP[attr.value]
+        new = MAP[attr.value]
         attr.replace(Name(new, prefix=attr.get_prefix()))

Modified: sandbox/trunk/2to3/tests/test_fixers.py
==============================================================================
--- sandbox/trunk/2to3/tests/test_fixers.py	(original)
+++ sandbox/trunk/2to3/tests/test_fixers.py	Sat Mar 15 15:37:18 2008
@@ -2207,7 +2207,7 @@
             a = "from %s import %s" % (mod, new)
             self.check(b, a)
 
-	    s = "from foo import %s" % old
+            s = "from foo import %s" % old
             self.unchanged(s)
 
     def test_import_from_as(self):


More information about the Python-checkins mailing list