개정판 63a0a093
issue #000: fix line tracer equipment
Change-Id: I7bdd72cf8d6338536be431349d0180d3246f3373
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
367 | 367 |
|
368 | 368 |
""" check obj is upstream or downstream of spec break """ |
369 | 369 |
matches = [spec_break for spec_break in self._spec_breaks if spec_break.is_connected(obj)] |
370 |
if matches or issubclass(type(obj), QEngineeringEquipmentItem): continue |
|
370 |
if matches or issubclass(type(obj), QEngineeringEquipmentItem): |
|
371 |
visited.pop(visited.index(obj)) |
|
372 |
continue |
|
371 | 373 |
#print('obj={} pool={}'.format(obj, pool)) |
372 | 374 |
""" end loop if obj is to """ |
373 | 375 |
if to is not None and str(obj.uid) == str(to.uid): break |
내보내기 Unified diff