SVN: zope.testing/tags/regebro-python3-reloaded/src/zope/testing/testrunner/find.py Using the builtin name "filter" confuses 2to3.

Lennart Regebro <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <[email protected]>
Log message for revision 106252:
  Using the builtin name "filter" confuses 2to3.
  

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

-=-
Modified: zope.testing/tags/regebro-python3-reloaded/src/zope/testing/testrunner/find.py
===================================================================
--- zope.testing/tags/regebro-python3-reloaded/src/zope/testing/testrunner/find.py	2009-12-07 17:41:08 UTC (rev 106251)
+++ zope.testing/tags/regebro-python3-reloaded/src/zope/testing/testrunner/find.py	2009-12-07 18:25:58 UTC (rev 106252)
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.