Commit aca169cb authored by wenjie.zheng's avatar wenjie.zheng

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

parent 3221daf3
......@@ -67,10 +67,11 @@ class Variable(IdAsReferenceMixin("variable_", "prefix"), XMLObject):
)
def getDefaultExprText(self):
if not self.default_expr:
default_expr = self.getDefaultExpr()
if not default_expr:
return ''
else:
return self.default_expr.text
return default_expr
def getInfoGuardSummary(self):
res = None
......
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