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

Commit 43df0805 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Fix test failures in releasetools

new_path used before assignment, use `path` instead.

Bug: 280425458
Change-Id: I55086f92cf109af67032614cefde60e6478bb149
parent 0ee11559
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1429,7 +1429,7 @@ def ResolveAVBSigningPathArgs(split_args):
      if os.path.exists(new_path):
        return new_path
    raise ExternalError(
        "Failed to find {}".format(new_path))
        "Failed to find {}".format(path))

  if not split_args:
    return split_args