개정판 570dff9c
issue #637: fix spec break load
Change-Id: Ib05a680c687b82ac9c13e8a606ce04a6bc1227ec
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py | ||
---|---|---|
1561 | 1561 |
item.attrs[_attr] = [attr.text.split(',')[0], attr.text.split(',')[1]] |
1562 | 1562 |
else: |
1563 | 1563 |
## for old spec break item that has not uid currectly, may not necessary new data |
1564 |
_attr.AssocItem = uuid.UUID(attr.text) if attr.text else None |
|
1564 |
_attr.AssocItem = uuid.UUID(attr.text) if attr.text and attr.text != 'None' else None
|
|
1565 | 1565 |
## up to here 3 |
1566 | 1566 |
item.attrs[_attr] = attr.text |
1567 | 1567 |
''' |
내보내기 Unified diff