[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/renormalizing/__init__.py tweak for python 3

Jim Fulton jim at zope.com
Sun Apr 3 11:55:58 EDT 2011


Log message for revision 121218:
  tweak for python 3

Changed:
  U   zope.testing/trunk/src/zope/testing/renormalizing/__init__.py

-=-
Modified: zope.testing/trunk/src/zope/testing/renormalizing/__init__.py
===================================================================
--- zope.testing/trunk/src/zope/testing/renormalizing/__init__.py	2011-04-03 15:55:11 UTC (rev 121217)
+++ zope.testing/trunk/src/zope/testing/renormalizing/__init__.py	2011-04-03 15:55:58 UTC (rev 121218)
@@ -266,7 +266,7 @@
     """
 
     def __init__(self, patterns):
-        self.transformers = map(self._cook, patterns)
+        self.transformers = list(map(self._cook, patterns))
 
     def __add__(self, other):
         if not isinstance(other, RENormalizing):



More information about the Zope3-Checkins mailing list