개정판 0713af64
issue #000 :vendor package also tracing and fix end break
Change-Id: I177cd919351f0201a5a62cf99884c40af8860bbd
DTI_PID/DTI_PID/LineNoTracer.py | ||
---|---|---|
160 | 160 |
_from.owner = lineno |
161 | 161 |
_to.owner = lineno |
162 | 162 |
continue |
163 |
else: |
|
164 |
lineno.set_property('From', None) |
|
165 |
lineno.set_property('To', None) |
|
163 | 166 |
|
164 | 167 |
lineno.conns.clear() |
165 | 168 |
minDist = None |
... | ... | |
439 | 442 |
item.set_property('Supplied By', vendorTag) |
440 | 443 |
else: |
441 | 444 |
item.set_property('Supplied By', '') |
442 |
symbols.append(item)
|
|
445 |
symbols.append(item) |
|
443 | 446 |
elif type(item) is QEngineeringLineNoTextItem: |
444 | 447 |
lineNos.append(item) |
445 | 448 |
elif type(item) is QEngineeringLineItem: |
446 |
matches = [vendor_package for vendor_package in vendor_packages if vendor_package.includes(item)] |
|
447 |
if not matches: lines.append(item) |
|
449 |
#matches = [vendor_package for vendor_package in vendor_packages if vendor_package.includes(item)] |
|
450 |
#if not matches: lines.append(item) |
|
451 |
lines.append(item) |
|
448 | 452 |
elif type(item) is QEngineeringUnknownItem and item.lineIndicator != 'False': |
449 | 453 |
lineIndicator.append(item) |
450 | 454 |
|
... | ... | |
491 | 495 |
lineNo_tos = [] |
492 | 496 |
|
493 | 497 |
for lineNo in lineNos: |
494 |
lineNo_froms.append(lineNo.prop('From')) |
|
495 |
lineNo_tos.append(lineNo.prop('To')) |
|
498 |
lineNo_froms.append(lineNo.prop('From')) if lineNo.prop('From') is not None else None
|
|
499 |
lineNo_tos.append(lineNo.prop('To')) if lineNo.prop('To') is not None else None
|
|
496 | 500 |
#end_breaks.extend(lineNo.end_break()) |
497 | 501 |
|
498 | 502 |
for line_end in lineNo_froms + lineNo_tos: |
내보내기 Unified diff