SVN: zope.testing/trunk/src/zope/testing/renormalizing/__init__.py tweak for python 3

Jim Fulton <[email protected]> Sun, 3 Apr 2011 11:55:58 -0400 (EDT)
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <[email protected]>
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):