Commit 79d2aad7 authored by Jérome Perrin's avatar Jérome Perrin

Don't use iteritems, it cause problems with some zope versions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17399 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e5d66bef
......@@ -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>
......@@ -69,7 +66,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>from ZTUtils import make_query\n
return make_query((item for item in http_parameter_list.iteritems() if item[1] is not None))\n
return make_query((item for item in http_parameter_list.items() if item[1] is not None))\n
</string> </value>
</item>
<item>
......@@ -121,6 +118,7 @@ return make_query((item for item in http_parameter_list.iteritems() if item[1] i
<string>http_parameter_list</string>
<string>ZTUtils</string>
<string>make_query</string>
<string>_getiter_</string>
<string>_getattr_</string>
</tuple>
</value>
......
555
\ No newline at end of file
556
\ 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