summaryrefslogtreecommitdiff
path: root/obnamlib/encryption.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/encryption.py')
-rw-r--r--obnamlib/encryption.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/encryption.py b/obnamlib/encryption.py
index 45611401..35ac1da2 100644
--- a/obnamlib/encryption.py
+++ b/obnamlib/encryption.py
@@ -180,7 +180,7 @@ class Keyring(object):
''', gpghome=self._gpghome)
def _cleanup(self):
- shutil.rmtree(self._gpghome)
+ shutil.rmtree(self._gpghome, ignore_errors=True)
self._gpghome = None
@property