Commit 2ef939b3 authored by wenjie.zheng's avatar wenjie.zheng

WorklistVariable.py: deploy property accessors as many as possible.

parent d9b1c21c
...@@ -66,7 +66,8 @@ class WorklistVariable(IdAsReferenceMixin("variable_", "prefix"), XMLObject): ...@@ -66,7 +66,8 @@ class WorklistVariable(IdAsReferenceMixin("variable_", "prefix"), XMLObject):
) )
def getDefaultExprText(self): def getDefaultExprText(self):
if not self.default_expr: default_expr = self.getDefaultExpr()
if not default_expr:
return '' return ''
else: else:
return self.default_expr.text return default_expr
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