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

Make PRD list human readable.

This commit is contained in:
Markus Birth 2017-08-15 15:20:26 +02:00
parent 61c2a9cbfc
commit df63202d0a
2 changed files with 32 additions and 2 deletions

View File

@ -1 +1,29 @@
PRD-63116-001/nPRD-63116-003/nPRD-63116-005/nPRD-63116-007/nPRD-63116-009/nPRD-63116-010/nPRD-63116-013/nPRD-63116-017/nPRD-63116-020/nPRD-63116-021/nPRD-63116-027/nPRD-63116-033/nPRD-63117-003/nPRD-63117-011/nPRD-63117-015/nPRD-63117-019/nPRD-63117-023/nPRD-63117-025/nPRD-63117-027/nPRD-63117-028/nPRD-63117-029/nPRD-63117-041/nPRD-63117-703/nPRD-63117-704/nPRD-63118-001/nPRD-63734-001/nPRD-63734-002/nPRD-63763-001/nPRD-63764-001/n PRD-63116-001
PRD-63116-003
PRD-63116-005
PRD-63116-007
PRD-63116-009
PRD-63116-010
PRD-63116-013
PRD-63116-017
PRD-63116-020
PRD-63116-021
PRD-63116-027
PRD-63116-033
PRD-63117-003
PRD-63117-011
PRD-63117-015
PRD-63117-019
PRD-63117-023
PRD-63117-025
PRD-63117-027
PRD-63117-028
PRD-63117-029
PRD-63117-041
PRD-63117-703
PRD-63117-704
PRD-63118-001
PRD-63734-001
PRD-63734-002
PRD-63763-001
PRD-63764-001

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import hashlib import hashlib
import random import random
import sys import sys
@ -95,7 +97,7 @@ if __name__ == "__main__":
if sys.argv[1] == "l": if sys.argv[1] == "l":
with open("prds.txt", "r") as afile: with open("prds.txt", "r") as afile:
prdx = afile.read() prdx = afile.read()
prds = prdx.split("/n") prds = list(filter(None, prdx.split("\n")))
for prd in prds: for prd in prds:
main2(sess, serid, prd) main2(sess, serid, prd)
else: else: