Commit ba8e1141 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2007-11-06 yo

* Stop using iteritems for now, because it doesn't work with zope 2.8.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17404 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51cc6d9e
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -78,7 +75,7 @@
# Cancel url is always overwritten, except when rendering\n
# a dialog. So this is safe to propagate it.\n
\n
return dict((item for item in parameter_list.iteritems() if item[0] in kept_names))\n
return dict((item for item in parameter_list.items() if item[0] in kept_names))\n
</string> </value>
</item>
<item>
......@@ -130,6 +127,7 @@ return dict((item for item in parameter_list.iteritems() if item[0] in kept_name
<string>parameter_list</string>
<string>kept_names</string>
<string>dict</string>
<string>_getiter_</string>
<string>_getattr_</string>
</tuple>
</value>
......
426
\ No newline at end of file
427
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment