Commit 82d2bf14 authored by Ayush Tiwari's avatar Ayush Tiwari

BusinessTemplate: Refactor mistake for modified_object_list assignment

parent 84451d42
......@@ -2753,11 +2753,11 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem):
if new_object != old_object:
modified_object_list[path] = 'Modified', self.getTemplateTypeName()
else: # new object
modified_object_list.update[path] = 'New', self.getTemplateTypeName()
modified_object_list[path] = 'New', self.getTemplateTypeName()
# get removed object
for path in installed_item._objects:
if path not in self._objects:
modified_object_list.update[path] = 'Removed', self.getTemplateTypeName()
modified_object_list[path] = 'Removed', self.getTemplateTypeName()
return modified_object_list
def _importFile(self, file_name, 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