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

Commit 2cecb916 authored by Joe Onorato's avatar Joe Onorato
Browse files

Print better error when a custom image input file is missing

Test: treehugger
Change-Id: I4e2a7f4ed43517c520b0e3e44a26efe164e6b435
parent 0a68346a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ def AddCustomImages(output_zip, partition_name, image_list):

  default = os.path.join(OPTIONS.input_tmp, "IMAGES", partition_name + ".img")
  assert os.path.exists(default), \
      "There should be one %s.img" % (partition_name)
      "Can't find %s for image %s" % (default, partition_name)
  return default