프로젝트

일반

사용자정보

개정판 f67c5f7b

IDf67c5f7b5b5bff246f2664bceccac7eacb83983d
상위 50de3758
하위 7f95bc04

함의성이(가) 약 5년 전에 추가함

issue #563: fix spec break auto update

Change-Id: I8df7ee9c3a1329081bab7538cc3186e1ba2bfa27

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
748 748
                                attrs = spec_break.getAttributes()
749 749
                                for key in attrs.keys():
750 750
                                    if key.Attribute == 'UpStream':
751
                                        attrs[key] = spec[0]
751
                                        attrs[key] = str(spec[0])
752 752
                                        spec_break.add_assoc_item(spec[0], key.AttrAt, force=True)
753
                                        key.AssocItem = spec[0]
753 754
                                    elif key.Attribute == 'DownStream':
754
                                        attrs[key] = spec[1]
755
                                        attrs[key] = str(spec[1])
755 756
                                        spec_break.add_assoc_item(spec[1], key.AttrAt, force=True)
757
                                        key.AssocItem = spec[1]
756 758

  
757 759
                                for attr, value, value2 in spec[2:]:
758 760
                                    for full in specBreakAttrsFull:
DTI_PID/DTI_PID/Shapes/SymbolSvgItem.py
540 540
                    params.append((str(uuid.uuid4()), str(self.uid), str(key.UID), str(_attrs[key]), str(key.AssocItem),
541 541
                                   str(key.Freeze)))
542 542
                elif key.AttributeType == 'Spec':
543
                    if type(_attrs[key]) is not list: continue
543 544
                    params.append((str(uuid.uuid4()), str(self.uid), str(key.UID), (str(_attrs[key][0]) + ',' + str(_attrs[key][1])), str(key.AssocItem),
544 545
                                   str(key.Freeze)))
545 546
            sql = 'insert into Attributes({}) values({})'.format(','.join(cols), ','.join(values))

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)