Commit fbacdf87 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

TypeTool.py: getScriptValueList, compatibility modification.

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