Commit ebb431cc authored by Ivan Tyagov's avatar Ivan Tyagov

Update comment.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37195 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent db41566b
...@@ -63,6 +63,8 @@ class DocumentMixin: ...@@ -63,6 +63,8 @@ class DocumentMixin:
""" """
transaction_variable = getTransactionalVariable(self.getPortalObject()) transaction_variable = getTransactionalVariable(self.getPortalObject())
if LOCK_PERMISSION_KEY in transaction_variable: if LOCK_PERMISSION_KEY in transaction_variable:
# in convert we want always to check conversion format permission
# to bypass such check one should use _convert directly
del transaction_variable[LOCK_PERMISSION_KEY] del transaction_variable[LOCK_PERMISSION_KEY]
self._checkConversionFormatPermission(format, lock_checking=True, **kw) self._checkConversionFormatPermission(format, lock_checking=True, **kw)
result = self._convert(format, **kw) result = self._convert(format, **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