Merge "Ignore cleanup errors."

This commit is contained in:
Treehugger Robot
2022-02-26 05:54:13 +00:00
committed by Gerrit Code Review

View File

@@ -214,7 +214,7 @@ class ApexApkSigner(object):
if os.path.isfile(path):
os.remove(path)
elif os.path.isdir(path):
shutil.rmtree(path)
shutil.rmtree(path, ignore_errors=True)
# TODO(xunchang) the signing process can be improved by using
# '--unsigned_payload_only'. But we need to parse the vbmeta earlier for