From ba8e1141a9b526dc0099f16abfe979fa435f9be6 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Tue, 6 Nov 2007 02:57:36 +0000 Subject: [PATCH] 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 --- .../erp5_xhtml_style/ERP5Site_filterParameterList.xml | 10 ++++------ product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_filterParameterList.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_filterParameterList.xml index 9e1d93834c..c0f934d78e 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_filterParameterList.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_filterParameterList.xml @@ -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> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 82a1667ba9..b872400059 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -426 \ No newline at end of file +427 \ No newline at end of file -- 2.30.9