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 @@ ...@@ -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>
...@@ -69,7 +66,7 @@ ...@@ -69,7 +66,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from ZTUtils import make_query\n <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> </string> </value>
</item> </item>
<item> <item>
...@@ -121,6 +118,7 @@ return make_query((item for item in http_parameter_list.iteritems() if item[1] i ...@@ -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>http_parameter_list</string>
<string>ZTUtils</string> <string>ZTUtils</string>
<string>make_query</string> <string>make_query</string>
<string>_getiter_</string>
<string>_getattr_</string> <string>_getattr_</string>
</tuple> </tuple>
</value> </value>
......
555 556
\ 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