Commit 0468dd66 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Prevents strange UserDict behaviour from breaking the installation of sql catalog methods.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2734 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6dc934e9
......@@ -419,7 +419,7 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
catalog.filter_dict[method_id]['expression'] = expression
catalog.filter_dict[method_id]['expression_instance'] = expression_instance
catalog.filter_dict[method_id]['type'] = type
elif method_id in catalog.filter_dict:
elif method_id in catalog.filter_dict.keys():
catalog.filter_dict[method_id]['filtered'] = 0
sql_catalog_object.sort()
......
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