Commit e44c85ba authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos
Browse files

pithos: Remove 'create' argument in _get_rear_block()

parent 716b6a06
......@@ -125,7 +125,7 @@ class RadosBlocker(object):
if h == self.emptyhash:
with self._get_rear_block(h, 0) as rbl:
with self._get_rear_block(h) as rbl:
if not rbl:
for block in rbl.sync_read_chunks(blocksize, 1, 0):
......@@ -147,7 +147,7 @@ class RadosBlocker(object):
missing = [i for i, h in enumerate(hashlist) if not
for i in missing:
with self._get_rear_block(hashlist[i], 1) as rbl:
with self._get_rear_block(hashlist[i]) as rbl:
rbl.sync_write(blocklist[i]) # XXX: verify?
return hashlist, missing
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment