mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-09 22:06:47 +00:00
filter extraneous 'PRD-' in findprd
This commit is contained in:
parent
822796fa7b
commit
44f906858d
@ -43,6 +43,7 @@ with open("prds.txt", "r") as afile:
|
||||
prddict[key].append(value)
|
||||
|
||||
if args.tocheck is not None:
|
||||
args.tocheck = args.tocheck.replace("PRD-", "")
|
||||
prdkeys = list(prddict.keys())
|
||||
for k in prdkeys:
|
||||
if k != args.tocheck:
|
||||
|
Loading…
Reference in New Issue
Block a user