개정판 1d2a9f33
issue #000: fix LineNoTracer
Change-Id: I07ac01444bd9150de9cb895d049ad22e9ec250e2
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
84 | 84 |
lineno.set_property('From', connected_items[0]) |
85 | 85 |
lineno.set_property('To', connected_items[-1]) |
86 | 86 |
|
87 |
if not connected_items or connected_items[-1] is not _to:
|
|
87 |
if _to is not None and (not connected_items or connected_items[-1] is not _to):
|
|
88 | 88 |
_to.owner = None |
89 | 89 |
|
90 | 90 |
return connected_items |
... | ... | |
369 | 369 |
|
370 | 370 |
symbolMatches = [x for x in self._symbols if (x.owner is None or x.owner == start.owner) and (x is not obj) and (x not in visited) and obj.is_connected(x, None)] |
371 | 371 |
#print(symbolMatches) |
372 |
|
|
372 |
|
|
373 | 373 |
# order connected objects |
374 | 374 |
matches = [] |
375 | 375 |
matches.extend(symbolMatches) |
내보내기 Unified diff