1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

Continue checking remaining PRDs after broken one.

This commit is contained in:
Markus Birth 2017-08-15 15:22:42 +02:00
parent 80eb201e5e
commit bd81273c6c

View File

@ -99,9 +99,14 @@ if __name__ == "__main__":
prdx = afile.read()
prds = list(filter(None, prdx.split("\n")))
for prd in prds:
main2(sess, serid, prd)
try:
main2(sess, serid, prd)
except:
print("{} failed.".format(prd))
continue
else:
curef = sys.argv[1]
main(sess, serid, curef)
else:
curef = "PRD-63764-001"
main(sess, serid, curef)
main(sess, serid, curef)