개정판 6e800d2b
issue #000: fix attr
Change-Id: Idcfba1df047bf8ea2260ae608896820d9f4abf45
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
621 | 621 |
_attrs[attr] = '' |
622 | 622 |
elif attr.AttributeType == 'String': |
623 | 623 |
#_attrs[attr] = attr.Expression if attr.Expression and not _attrs[attr] else _attrs[attr] |
624 |
_attrs[attr] = self.try_eval(item, attr.Expression) if attr.Expression else _attrs[attr]
|
|
624 |
_attrs[attr] = self.try_eval(None, attr.Expression) if attr.Expression else _attrs[attr]
|
|
625 | 625 |
|
626 | 626 |
"""calculate attribute value for combined type""" |
627 | 627 |
p = re.compile('{[A-Za-z0-9_ ]+}') |
내보내기 Unified diff