개정판 26ffe3d3
issue #563: fix findowner
Change-Id: Ic16275377ae09a87440fc535fbd41fdf1f7952f1
DTI_PID/DTI_PID/Shapes/EngineeringAbstractItem.py | ||
---|---|---|
241 | 241 |
"""calculate all attributes of item""" |
242 | 242 |
import re |
243 | 243 | |
244 |
if findOwner and hasattr(self, '_skip'):
|
|
244 |
if findOwner and self._skip:
|
|
245 | 245 |
return self.attrs |
246 |
elif findOwner and not hasattr(self, '_skip'):
|
|
246 |
elif findOwner: |
|
247 | 247 |
self._skip = True |
248 | 248 | |
249 | 249 |
_attrs = {} |
내보내기 Unified diff