Commit 4d8affb7 authored by wenjie.zheng's avatar wenjie.zheng

TypeTool.py: getScriptValueList, compatibility modification.

parent 5b30ed80
......@@ -112,7 +112,7 @@ class TypesTool(TypeProvider):
pass
try:
script = self.getPortalObject().portal_workflow \
.dynamic_class_generation_interaction_workflow.scripts \
.dynamic_class_generation_interaction_workflow.getScriptValueList() \
.DynamicClassGeneration_resetDynamicDocuments
new = '.resetDynamicDocumentsOnceAtTransactionBoundary('
if new not in script._body:
......
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