Revision 8fe9ed4e
b/kamaki/cli/utils.py | ||
---|---|---|
209 | 209 |
|
210 | 210 |
counter = 1 |
211 | 211 |
prefix = '' |
212 |
item_sep = False |
|
212 | 213 |
for item in sorted(l): |
213 | 214 |
if item in exclude: |
214 | 215 |
continue |
... | ... | |
218 | 219 |
prefix = '%s%s' % (' ' * (ident - len(prefix)), prefix) |
219 | 220 |
else: |
220 | 221 |
prefix = ' ' * ident |
222 |
if item_sep: |
|
223 |
print '%s. . . . . . .' % prefix |
|
224 |
else: |
|
225 |
item_sep = True |
|
221 | 226 |
if isinstance(item, dict): |
222 | 227 |
if with_enumeration: |
223 | 228 |
print(prefix) |
Also available in: Unified diff