[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/browser/contents.py clean up silliness

Fred Drake cvs-admin at zope.org
Wed Jun 21 13:53:59 EDT 2006


Log message for revision 68782:
  clean up silliness

Changed:
  U   Zope3/trunk/src/zope/app/container/browser/contents.py

-=-
Modified: Zope3/trunk/src/zope/app/container/browser/contents.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/contents.py	2006-06-21 16:50:46 UTC (rev 68781)
+++ Zope3/trunk/src/zope/app/container/browser/contents.py	2006-06-21 17:53:56 UTC (rev 68782)
@@ -205,7 +205,7 @@
         newids = request.get("new_value")
 
         renamer = IContainerItemRenamer(self.context)
-        for oldid, newid in map(None, ids, newids):
+        for oldid, newid in zip(ids, newids):
             if newid != oldid:
                 renamer.renameItem(oldid, newid)
 



More information about the Zope3-Checkins mailing list