9q fix#8
This commit is contained in:
parent
f39a83466d
commit
7049729416
@ -1242,8 +1242,8 @@ class DDTLauncher():
|
|||||||
#b_xml.grid(row=8, column=2, **optsGrid)
|
#b_xml.grid(row=8, column=2, **optsGrid)
|
||||||
|
|
||||||
allxmllist = []
|
allxmllist = []
|
||||||
for l in sorted(mod_db_manager.get_file_list_from_ddt('^ecus/*')):
|
for l in sorted(mod_db_manager.get_file_list_from_ddt('ecus/*')):
|
||||||
allxmllist.append( l[5:] )
|
allxmllist.append( os.path.basename(l) )
|
||||||
l2_xml = tk.Label(self.ecudlg, text='ALL XML:', background="#d9d9d9")
|
l2_xml = tk.Label(self.ecudlg, text='ALL XML:', background="#d9d9d9")
|
||||||
l2_xml.grid(row=9, column=0, **optsGrid_e)
|
l2_xml.grid(row=9, column=0, **optsGrid_e)
|
||||||
a_xml = ttk.Combobox(self.ecudlg, width=30)
|
a_xml = ttk.Combobox(self.ecudlg, width=30)
|
||||||
|
@ -285,7 +285,7 @@ class DDTECU():
|
|||||||
|
|
||||||
eculist = mod_ddt_utils.loadECUlist()
|
eculist = mod_ddt_utils.loadECUlist()
|
||||||
|
|
||||||
mod_ddt_utils.searchddtroot()
|
#mod_ddt_utils.searchddtroot()
|
||||||
|
|
||||||
if len(mod_globals.opt_ddtxml)>0:
|
if len(mod_globals.opt_ddtxml)>0:
|
||||||
fname = mod_globals.opt_ddtxml
|
fname = mod_globals.opt_ddtxml
|
||||||
@ -393,7 +393,7 @@ class DDTECU():
|
|||||||
if xmlname.upper().endswith('.XML'):
|
if xmlname.upper().endswith('.XML'):
|
||||||
xmlname = xmlname[:-4]
|
xmlname = xmlname[:-4]
|
||||||
|
|
||||||
if len(dumpname)==0:
|
if len(dumpname)==0 or not os.path.exists(dumpname):
|
||||||
flist = []
|
flist = []
|
||||||
|
|
||||||
for root, dirs, files in os.walk("./dumps"):
|
for root, dirs, files in os.walk("./dumps"):
|
||||||
|
@ -125,10 +125,10 @@ def loadECUlist():
|
|||||||
pjcl = []
|
pjcl = []
|
||||||
eculist[Address]["targets"][href]['Projects'] = pjcl
|
eculist[Address]["targets"][href]['Projects'] = pjcl
|
||||||
ail = []
|
ail = []
|
||||||
ais = target.findall("AutoIdents")
|
ais = target.findall("ns0:AutoIdents", ns)
|
||||||
if len(ais):
|
if len(ais):
|
||||||
for ai in ais:
|
for ai in ais:
|
||||||
AutoIdents = ai.findall("AutoIdent")
|
AutoIdents = ai.findall("ns0:AutoIdent", ns)
|
||||||
if len(AutoIdents):
|
if len(AutoIdents):
|
||||||
for AutoIdent in AutoIdents:
|
for AutoIdent in AutoIdents:
|
||||||
air = {}
|
air = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user