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 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -78,7 +75,7 @@ ...@@ -78,7 +75,7 @@
# Cancel url is always overwritten, except when rendering\n # Cancel url is always overwritten, except when rendering\n
# a dialog. So this is safe to propagate it.\n # a dialog. So this is safe to propagate it.\n
\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> </string> </value>
</item> </item>
<item> <item>
...@@ -130,6 +127,7 @@ return dict((item for item in parameter_list.iteritems() if item[0] in kept_name ...@@ -130,6 +127,7 @@ return dict((item for item in parameter_list.iteritems() if item[0] in kept_name
<string>parameter_list</string> <string>parameter_list</string>
<string>kept_names</string> <string>kept_names</string>
<string>dict</string> <string>dict</string>
<string>_getiter_</string>
<string>_getattr_</string> <string>_getattr_</string>
</tuple> </tuple>
</value> </value>
......
426 427
\ No newline at end of file \ 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