diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-05-16 18:56:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-05-16 19:07:43 +0300 |
commit | 959622b90e8140346789d1d90c0b8a78309bce39 (patch) | |
tree | 342363cc4ce6f79846c2624afac48ee1e0bc2eda | |
parent | 68e18a105bc9bca499895bf39bb5cffcf63d3dbf (diff) | |
download | obnam-959622b90e8140346789d1d90c0b8a78309bce39.tar.gz |
Fix attribute name in BagStore
-rw-r--r-- | obnamlib/bag_store.py | 2 |
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) |