Fix the broken script in AssertFingerprintOrThumbprint.

Bug: 62252466
Test: Re-generate an incremental OTA that goes from the fingerprint to
      thumbprint, and check the updater-script.
Change-Id: I6e2cbf68cbd22fbcf0d200fc3fdc8a33da510a53
This commit is contained in:
Tao Bao 2017-06-05 12:25:46 -07:00
parent 4536e45f66
commit d2d01e519e

View file

@ -130,7 +130,7 @@ class EdifyGenerator(object):
' getprop("ro.build.thumbprint") == "{tp}" ||\n' ' getprop("ro.build.thumbprint") == "{tp}" ||\n'
' abort("Package expects build fingerprint of {fp} or ' ' abort("Package expects build fingerprint of {fp} or '
'thumbprint of {tp}; this device has a fingerprint of " ' 'thumbprint of {tp}; this device has a fingerprint of " '
'+ getprop("ro.build.fingerprint") and a thumbprint of " ' '+ getprop("ro.build.fingerprint") + " and a thumbprint of " '
'+ getprop("ro.build.thumbprint") + ".");').format(fp=fp, tp=tp) '+ getprop("ro.build.thumbprint") + ".");').format(fp=fp, tp=tp)
self.script.append(cmd) self.script.append(cmd)