Commit 98373777 authored by Romain Courteaud's avatar Romain Courteaud

No need to fix the dictionnary key. This code was a wrong duplication from

PortalTypeWorkflowChainTemplateItem.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29171 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 623c9e13
...@@ -1457,12 +1457,6 @@ class RegisteredSkinSelectionTemplateItem(BaseTemplateItem): ...@@ -1457,12 +1457,6 @@ class RegisteredSkinSelectionTemplateItem(BaseTemplateItem):
if context.getTemplateFormatVersion() == 1: if context.getTemplateFormatVersion() == 1:
new_keys = self._objects.keys() new_keys = self._objects.keys()
new_dict = PersistentMapping() new_dict = PersistentMapping()
# Fix key from installed bt if necessary
for key in installed_bt._objects.keys():
new_key = 'registered_skin_selection/%s' %key
new_dict[new_key] = installed_bt._objects[key]
if len(new_dict):
installed_bt._objects = new_dict
for path in new_keys: for path in new_keys:
if installed_bt._objects.has_key(path): if installed_bt._objects.has_key(path):
# compare object to see it there is changes # compare object to see it there is changes
......
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