Revision 11999722
b/tools/store | ||
---|---|---|
308 | 308 |
if 'detail' in args.keys(): |
309 | 309 |
args.pop('detail') |
310 | 310 |
args.pop('format') |
311 |
self.detail = True |
|
311 | 312 |
data = self.client.retrieve_object_versionlist(container, object, **args) |
312 | 313 |
elif self.version: |
313 | 314 |
data = self.client.retrieve_object_version(container, object, |
... | ... | |
317 | 318 |
|
318 | 319 |
f = self.file and open(self.file, 'w') or stdout |
319 | 320 |
if self.detail: |
320 |
data = json.loads(data) |
|
321 | 321 |
if self.versionlist: |
322 | 322 |
print_versions(data, f=f) |
323 | 323 |
else: |
Also available in: Unified diff