Revision b1aca3e6
b/snf-pithos-backend/pithos/backends/modular.py | ||
---|---|---|
133 | 133 |
result = format_exc() |
134 | 134 |
raise |
135 | 135 |
finally: |
136 |
all_args = [str(i) for i in args]
|
|
136 |
all_args = map(repr, args)
|
|
137 | 137 |
map(all_args.append, ('%s=%s' % (k, v) for k, v in kw.iteritems())) |
138 | 138 |
logger.debug(">>> %s(%s) <<< %s" % ( |
139 | 139 |
func.__name__, ', '.join(all_args).rstrip(', '), result)) |
... | ... | |
1261 | 1261 |
self._can_read(user, account, container, name) |
1262 | 1262 |
return (account, container, name) |
1263 | 1263 |
|
1264 |
@debug_method |
|
1265 | 1264 |
def get_block(self, hash): |
1266 | 1265 |
"""Return a block's data.""" |
1267 | 1266 |
|
1267 |
logger.debug("get_block: %s", hash) |
|
1268 | 1268 |
block = self.store.block_get(binascii.unhexlify(hash)) |
1269 | 1269 |
if not block: |
1270 | 1270 |
raise ItemNotExists('Block does not exist') |
Also available in: Unified diff