개정판 5376996a
issue #000: fix attr
Change-Id: I1b658f609e895c9d5e4da3c531b3a0cba868c0ae
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
181 | 181 |
for assoc in self._associations[key]: |
182 | 182 |
# find owner with uid |
183 | 183 |
if assoc and type(assoc) is uuid.UUID: |
184 |
matches = [x for x in self.scene().items() if hasattr(x, 'uid') and x.uid == str(assoc)]
|
|
184 |
matches = [x for x in self.scene().items() if hasattr(x, 'uid') and str(x.uid) == str(assoc)]
|
|
185 | 185 |
if matches: res.append(matches[0]) # TODO: need to update association with instance |
186 | 186 |
# up to here |
187 | 187 |
elif assoc: |
내보내기 Unified diff