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
(cherry picked from commit d2d01e519e)
This commit is contained in:
Tao Bao 2017-06-05 12:25:46 -07:00
parent fccf4ec06e
commit 9c6ab6c49b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class EdifyGenerator(object):
' getprop("ro.build.thumbprint") == "{tp}" ||\n'
' abort("Package expects build fingerprint of {fp} or '
'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)
self.script.append(cmd)