Revision f75f40cb snf-pithos-backend/pithos/backends/lib/hashfiler/store.py
b/snf-pithos-backend/pithos/backends/lib/hashfiler/store.py | ||
---|---|---|
49 | 49 |
os.umask(umask) |
50 | 50 |
|
51 | 51 |
pb = {'blocksize': params['block_size'], |
52 |
'hashtype': params['hash_algorithm'], |
|
53 |
} |
|
52 |
'hashtype': params['hash_algorithm'],
|
|
53 |
}
|
|
54 | 54 |
self.blocker = Blocker(**pb) |
55 | 55 |
pm = {'namelen': self.blocker.hashlen, |
56 |
} |
|
56 |
}
|
|
57 | 57 |
self.mapper = Mapper(**pm) |
58 | 58 |
|
59 | 59 |
def map_get(self, name): |
Also available in: Unified diff