Revision 3078108a pithos/api/util.py
b/pithos/api/util.py | ||
---|---|---|
658 | 658 |
if len(hashmap) == 0: |
659 | 659 |
return hexlify(subhash('')) |
660 | 660 |
if len(hashmap) == 1: |
661 |
return hexlify(hashmap[0])
|
|
661 |
return hashmap[0]
|
|
662 | 662 |
s = 2 |
663 | 663 |
while s < len(hashmap): |
664 | 664 |
s = s * 2 |
Also available in: Unified diff