[Zope3-checkins] SVN: zope.testing/tags/regebro-python3-reloaded/src/zope/testing/testrunner/find.py Using the builtin name "filter" confuses 2to3.
Lennart Regebro
regebro at gmail.com
Mon Dec 7 13:25:58 EST 2009
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
More information about the Zope3-Checkins
mailing list