Merge "Ignore cleanup errors." am: afe0e76c28
Original change: https://android-review.googlesource.com/c/platform/build/+/2000465 Change-Id: I455774c1e67b2d22eb21b5f9b2ce7076cbfb2bb2
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user