From 67bde7d02f77dd01e3ee32d89b6766a7233b33fb Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 19 Feb 2008 09:24:43 +0000 Subject: [PATCH] Remove unneeded pop: the dict is not used afterward. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19378 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index e0e3bc42a4..d3b333f10e 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -4554,7 +4554,6 @@ Business Template is a set of definitions, such as skins, portal types and categ for path, action in object_to_update.iteritems(): if action in ('remove', 'save_and_remove'): remove_object_dict[path] = action - object_to_update.pop(path) # remove object from old business template if len(remove_object_dict): -- 2.30.9