[Checkins] SVN: zope.testing/branches/regebro-python3/src/zope/testing/testrunner/find.py py3: don't use a built-in name, so 2to3 does not get confused

Wolfgang Schnerring wosc at wosc.de
Sun Sep 13 04:27:00 EDT 2009


Log message for revision 103880:
  py3: don't use a built-in name, so 2to3 does not get confused
  

Changed:
  U   zope.testing/branches/regebro-python3/src/zope/testing/testrunner/find.py

-=-
Modified: zope.testing/branches/regebro-python3/src/zope/testing/testrunner/find.py
===================================================================
--- zope.testing/branches/regebro-python3/src/zope/testing/testrunner/find.py	2009-09-13 08:26:29 UTC (rev 103879)
+++ zope.testing/branches/regebro-python3/src/zope/testing/testrunner/find.py	2009-09-13 08:26:59 UTC (rev 103880)
@@ -135,8 +135,8 @@
                 if package:
                     module_name = package + '.' + module_name
 
-                for filter in options.module:
-                    if filter(module_name):
+                for filter_ in options.module:
+                    if filter_(module_name):
                         break
                 else:
                     continue



More information about the checkins mailing list