Commit ca82437d authored by Arnaud Fontaine's avatar Arnaud Fontaine

Cosmetic.

parent df5c6d6b
...@@ -3881,8 +3881,8 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem): ...@@ -3881,8 +3881,8 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem):
automatically as the version must be set manually. This should not be an automatically as the version must be set manually. This should not be an
issue as there are not so many Documents in bt5... issue as there are not so many Documents in bt5...
""" """
object_list = list((context.getTemplateFormatVersion() == 1 and object_list = list(self._objects if context.getTemplateFormatVersion() == 1
self._objects or self._archive)) else self._archive)
if self._is_already_migrated(object_list): if self._is_already_migrated(object_list):
ObjectTemplateItem.install(self, context, **kw) ObjectTemplateItem.install(self, context, **kw)
......
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