Commit 584884d8 authored by Aurel's avatar Aurel

remove previous fix for uninstall


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88e48c0e
...@@ -566,10 +566,7 @@ class ObjectTemplateItem(BaseTemplateItem): ...@@ -566,10 +566,7 @@ class ObjectTemplateItem(BaseTemplateItem):
if object_path is not None: if object_path is not None:
object_keys = [object_path] object_keys = [object_path]
else: else:
if context.getTemplateFormatVersion() == 1: object_keys = self._archive.keys()
object_keys = self._objects.keys()
else:
object_keys = self._archive.keys()
for relative_url in object_keys: for relative_url in object_keys:
container_path = relative_url.split('/')[0:-1] container_path = relative_url.split('/')[0:-1]
object_id = relative_url.split('/')[-1] object_id = relative_url.split('/')[-1]
......
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