summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-05-16 18:56:52 +0300
committerLars Wirzenius <liw@liw.fi>2015-05-16 19:07:43 +0300
commit959622b90e8140346789d1d90c0b8a78309bce39 (patch)
tree342363cc4ce6f79846c2624afac48ee1e0bc2eda
parent68e18a105bc9bca499895bf39bb5cffcf63d3dbf (diff)
downloadobnam-959622b90e8140346789d1d90c0b8a78309bce39.tar.gz
Fix attribute name in BagStore
-rw-r--r--obnamlib/bag_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/bag_store.py b/obnamlib/bag_store.py
index 67c98a22..e95d385d 100644
--- a/obnamlib/bag_store.py
+++ b/obnamlib/bag_store.py
@@ -93,7 +93,7 @@ class IdInventor(object):
if self._prev_id is None:
self._prev_id = random.randint(0, obnamlib.MAX_ID)
else:
- self.prev_id += 1 # pragma: no cover
+ self._prev_id += 1 # pragma: no cover
def _reserve_succeeds(self):
filename = self._filename_maker(self._prev_id)