diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-05-16 07:58:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-05-16 11:45:06 +0300 |
commit | 2bceeae41eef43b9142d7163a45229920be9067d (patch) | |
tree | c410be22fa0ebea1a0df719125e247398c50118a /obnamlib/bag_store.py | |
parent | 37ad33ebcc21da980a1394f6f42b7b7510501bef (diff) | |
download | obnam-2bceeae41eef43b9142d7163a45229920be9067d.tar.gz |
Fix bag store to use real id range
Diffstat (limited to 'obnamlib/bag_store.py')
-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 cf19db17..67c98a22 100644 --- a/obnamlib/bag_store.py +++ b/obnamlib/bag_store.py @@ -91,7 +91,7 @@ class IdInventor(object): def _next_id(self): if self._prev_id is None: - self._prev_id = random.randint(0, 1024) + self._prev_id = random.randint(0, obnamlib.MAX_ID) else: self.prev_id += 1 # pragma: no cover |