projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6d64339
)
Retrieve empty hash block.
pithos/v0.7.9.1
author
Antony Chazapis
<chazapis@gmail.com>
Mon, 7 Nov 2011 19:00:23 +0000
(21:00 +0200)
committer
root
<root@pithos.dev.grnet.gr>
Mon, 7 Nov 2011 19:02:30 +0000
(21:02 +0200)
Fixes #1607
pithos/backends/lib/hashfiler/blocker.py
patch
|
blob
|
history
diff --git
a/pithos/backends/lib/hashfiler/blocker.py
b/pithos/backends/lib/hashfiler/blocker.py
index
817376b
..
49aa20c
100644
(file)
--- a/
pithos/backends/lib/hashfiler/blocker.py
+++ b/
pithos/backends/lib/hashfiler/blocker.py
@@
-115,6
+115,9
@@
class Blocker(object):
block = None
for h in hashes:
+ if h == self.emptyhash:
+ append('')
+ continue
with self._get_rear_block(h, 0) as rbl:
if not rbl:
break