summaryrefslogtreecommitdiff
path: root/obnamlib/bag_store.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/bag_store.py')
-rw-r--r--obnamlib/bag_store.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/obnamlib/bag_store.py b/obnamlib/bag_store.py
index 39c4795b..466eddbc 100644
--- a/obnamlib/bag_store.py
+++ b/obnamlib/bag_store.py
@@ -1,4 +1,4 @@
-# Copyright 2015-2016 Lars Wirzenius
+# Copyright 2015-2017 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -95,7 +95,7 @@ class BagStore(object):
filename = self._make_bag_filename(bag_id)
try:
self._fs.remove(filename)
- except EnvironmentError as e:
+ except EnvironmentError as e: # pragma: no cover
logging.warning(
'Tried to delete %s which does not exist:%d:%s',
filename, e.errno, str(e))