Commit 1c39b149 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix typos in BusinessTemplate comments.

parent 36ed2ca4
......@@ -3764,9 +3764,9 @@ from Products.ERP5Type.Core.DocumentComponent import DocumentComponent as \
class DocumentTemplateItem(FilesystemToZodbTemplateItem):
"""
Extensions are now stored in ZODB rather than on the filesystem. However,
some Business Templates may still have filesystem Extensions which need to
be migrated to the ZODB.
Documents are now stored in ZODB rather than on the filesystem. However,
some Business Templates may still have filesystem Documents which need to be
migrated to the ZODB.
The migration is performed in two steps:
......@@ -3803,7 +3803,7 @@ class DocumentTemplateItem(FilesystemToZodbTemplateItem):
def export(self, context, bta, **kw):
path = self.__class__.__name__ + '/'
for key, obj in self._objects.iteritems():
# Back compatibility with filesystem Extensions
# Back compatibility with filesystem Documents
if isinstance(obj, str):
if not key.startswith(path):
key = path + key
......
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