Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e253e76 authored by Chris Elliott's avatar Chris Elliott Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Fix the syntax error in the edify script generator" into cw-d-mr1-dev

parents 1aa1af0e 4dacce92
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -74,11 +74,11 @@ class EdifyGenerator(object):
      raise ValueError("must specify an OEM property")
    if not value:
      raise ValueError("must specify the OEM value")
    cmd = ('file_getprop("/oem/oem.prop", "%s") == "%s" || '
           'abort("This package expects the value \\"%s\\"  for '
           '\\"%s\\" on the OEM partition; '
           'this has value \\"" + file_getprop("/oem/oem.prop") + "\\".");'
           ) % (name, value, name, value)
    cmd = ('file_getprop("/oem/oem.prop", "{name}") == "{value}" || '
           'abort("This package expects the value \\"{value}\\" for '
           '\\"{name}\\" on the OEM partition; this has value \\"" + '
           'file_getprop("/oem/oem.prop", "{name}") + "\\".");'
           ).format(name=name, value=value)
    self.script.append(cmd)

  def AssertSomeFingerprint(self, *fp):