Merge pull request #883 from agaida/hack-unpackfs

[unpackfs] skip error check when rm of tmp folder fails
This commit is contained in:
Adriaan de Groot 2018-01-09 10:53:52 +01:00 committed by GitHub
commit a35a7b108f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ class UnpackOperation:
return None
finally:
shutil.rmtree(source_mount_path)
shutil.rmtree(source_mount_path, ignore_errors=True, onerror=None)
def mount_image(self, entry, imgmountdir):
"""