Revision 2005b18e kamaki/cli/commands/pithos_cli.py
b/kamaki/cli/commands/pithos_cli.py | ||
---|---|---|
270 | 270 |
|
271 | 271 |
if sep: |
272 | 272 |
if not user_cont: |
273 |
raiseCLIError(CLISyntaxError('Container is missing\n', |
|
273 |
raiseCLIError(CLISyntaxError( |
|
274 |
'Container is missing\n', |
|
274 | 275 |
details=errors.pithos.container_howto)) |
275 | 276 |
alt_cont = self['container'] |
276 | 277 |
if alt_cont and user_cont != alt_cont: |
... | ... | |
369 | 370 |
limit = int(self['limit']) if self['limit'] > 0 else len(object_list) |
370 | 371 |
for index, obj in enumerate(object_list): |
371 | 372 |
if self['exact_match'] and self.path and not ( |
372 |
obj['name'] == self.path or 'content_type' in obj): |
|
373 |
continue
|
|
373 |
obj['name'] == self.path or 'content_type' in obj):
|
|
374 |
continue |
|
374 | 375 |
pretty_obj = obj.copy() |
375 | 376 |
index += 1 |
376 | 377 |
empty_space = ' ' * (len(str(len(object_list))) - len(str(index))) |
Also available in: Unified diff