mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
New PRDs. A few optimisations in tclcheck.py.
This commit is contained in:
parent
e8d2e8f396
commit
72448afd47
5
prds.txt
5
prds.txt
@ -13,6 +13,8 @@ PRD-63116-024 AAO472 BBB100-1
|
|||||||
PRD-63116-027 AAN057 BBB100-1
|
PRD-63116-027 AAN057 BBB100-1
|
||||||
PRD-63116-033 AAO472 BBB100-1
|
PRD-63116-033 AAO472 BBB100-1
|
||||||
PRD-63116-036 AAN596 AT&T BBB100-1
|
PRD-63116-036 AAN596 AT&T BBB100-1
|
||||||
|
PRD-63116-041 AAO472 Black KEYone
|
||||||
|
PRD-63116-042 AAO472 Black KEYone
|
||||||
PRD-63117-003 AAO472 BBB100-2 (UK)
|
PRD-63117-003 AAO472 BBB100-2 (UK)
|
||||||
PRD-63117-011 AAO472 QWERTZ BBB100-2 (Germany)
|
PRD-63117-011 AAO472 QWERTZ BBB100-2 (Germany)
|
||||||
PRD-63117-015 AAO472 BBB100-2 (NL, Belgium)
|
PRD-63117-015 AAO472 BBB100-2 (NL, Belgium)
|
||||||
@ -23,8 +25,11 @@ PRD-63117-027 AAN358 QWERTY BBB100-2 (UAE) https://forums.crackberry.com/showthr
|
|||||||
PRD-63117-028 AAN358 BBB100-2
|
PRD-63117-028 AAN358 BBB100-2
|
||||||
PRD-63117-029 AAO472 BBB100-2
|
PRD-63117-029 AAO472 BBB100-2
|
||||||
PRD-63117-034 AAO472 BBB100-2
|
PRD-63117-034 AAO472 BBB100-2
|
||||||
|
PRD-63117-035 AAO472 BBB100-2
|
||||||
PRD-63117-036 AAO472 BBB100-2
|
PRD-63117-036 AAO472 BBB100-2
|
||||||
PRD-63117-037 AAN358 BBB100-2
|
PRD-63117-037 AAN358 BBB100-2
|
||||||
|
PRD-63117-039 AAO472 BBB100-2
|
||||||
|
PRD-63117-040 AAN358 BBB100-2
|
||||||
PRD-63117-041 AAN358 BBB100-2
|
PRD-63117-041 AAN358 BBB100-2
|
||||||
PRD-63117-042 AAN358 BBB100-2
|
PRD-63117-042 AAN358 BBB100-2
|
||||||
PRD-63117-703 AAK199 Prerelease BBB100-2?
|
PRD-63117-703 AAK199 Prerelease BBB100-2?
|
||||||
|
11
tclcheck.py
11
tclcheck.py
@ -8,22 +8,23 @@ import random
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
fc = tcllib.FotaCheck()
|
fc = tcllib.FotaCheck()
|
||||||
|
fc.cltp = 10
|
||||||
|
fc.serid = "3531510"
|
||||||
|
#fc.osvs = "7.1.1"
|
||||||
|
|
||||||
if len(sys.argv) == 3: # python tclcheck.py $PRD $FV = OTA delta for $PRD from $FV
|
if len(sys.argv) == 3: # python tclcheck.py $PRD $FV = OTA delta for $PRD from $FV
|
||||||
fc.curef = sys.argv[1]
|
fc.curef = sys.argv[1]
|
||||||
fc.fv = sys.argv[2]
|
fc.fv = sys.argv[2]
|
||||||
fc.mode = fc.MODE_OTA
|
fc.mode = fc.MODE_OTA
|
||||||
elif len(sys.argv) == 2: # python tclcheck.py $PRD = FULL for $PRD
|
elif len(sys.argv) == 2: # python tclcheck.py $PRD = FULL for $PRD
|
||||||
fc.curef = sys.argv[1]
|
fc.curef = sys.argv[1]
|
||||||
fc.fv = "AAM481"
|
fc.fv = "AAA000"
|
||||||
fc.mode = fc.MODE_FULL
|
fc.mode = fc.MODE_FULL
|
||||||
|
fc.cltp = 2010
|
||||||
else: # python tclcheck.py = OTA for default PRD, FV
|
else: # python tclcheck.py = OTA for default PRD, FV
|
||||||
fc.curef = "PRD-63117-011"
|
fc.curef = "PRD-63117-011"
|
||||||
fc.fv = "AAM481"
|
fc.fv = "AAM481"
|
||||||
fc.mode = fc.MODE_OTA
|
fc.mode = fc.MODE_OTA
|
||||||
fc.serid = "3531510"
|
|
||||||
#fc.osvs = "7.1.1"
|
|
||||||
fc.cltp = 10
|
|
||||||
#fc.cltp = 2010
|
|
||||||
|
|
||||||
check_xml = fc.do_check()
|
check_xml = fc.do_check()
|
||||||
print(fc.pretty_xml(check_xml))
|
print(fc.pretty_xml(check_xml))
|
||||||
|
Loading…
Reference in New Issue
Block a user