Commit 43e5b480 authored by Jérome Perrin's avatar Jérome Perrin

patches/CMFCoreSkinsTool: py3

parent 91160ea1
...@@ -57,7 +57,7 @@ def CMFCoreSkinsTool__updateCacheEntry(self, container_id, object_id): ...@@ -57,7 +57,7 @@ def CMFCoreSkinsTool__updateCacheEntry(self, container_id, object_id):
skin_location_list = getattr(self, '_v_skin_location_list', None) skin_location_list = getattr(self, '_v_skin_location_list', None)
if skin_location_list is not None: if skin_location_list is not None:
self._p_changed = 1 self._p_changed = 1
for selection_name in skin_location_list.keys(): for selection_name in list(skin_location_list.keys()):
if not isinstance(selection_name, basestring): if not isinstance(selection_name, basestring):
del skin_location_list[selection_name] del skin_location_list[selection_name]
for selection_name, skin_folder_id_string in six.iteritems(self._getSelections()): for selection_name, skin_folder_id_string in six.iteritems(self._getSelections()):
......
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