Fix test failures in releasetools
new_path used before assignment, use `path` instead. Bug: 280425458 Change-Id: I55086f92cf109af67032614cefde60e6478bb149
This commit is contained in:
@@ -1429,7 +1429,7 @@ def ResolveAVBSigningPathArgs(split_args):
|
|||||||
if os.path.exists(new_path):
|
if os.path.exists(new_path):
|
||||||
return new_path
|
return new_path
|
||||||
raise ExternalError(
|
raise ExternalError(
|
||||||
"Failed to find {}".format(new_path))
|
"Failed to find {}".format(path))
|
||||||
|
|
||||||
if not split_args:
|
if not split_args:
|
||||||
return split_args
|
return split_args
|
||||||
|
Reference in New Issue
Block a user