개정판 19d0f977
issue #538: fix error condition
Change-Id: Ie3d1be13f3cc5befb83551e108857bece07e4ffd
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
500 | 500 |
for lineNo_from in lineNo_froms + lineNo_tos: |
501 | 501 |
for connector in lineNo_from.connectors: |
502 | 502 |
for lineNo_to in lineNo_tos + lineNo_froms: |
503 |
if lineNo_from is lineNo_to: continue |
|
503 |
if lineNo_from is lineNo_to or lineNo_from.owner is lineNo_to.owner : continue
|
|
504 | 504 |
if connector.connectedItem is lineNo_to: |
505 | 505 |
end_break = SymbolSvgItem.createItem(symbol.getType(), svgFilePath) |
506 | 506 |
pt = [connector.center()[0] - float(symbol.getOriginalPoint().split(',')[0]), connector.center()[1] - float(symbol.getOriginalPoint().split(',')[1])] |
내보내기 Unified diff