mirror of https://github.com/tLDP/python-tldp
removing useless vestiage
This commit is contained in:
parent
6a97e4058a
commit
b2e01eec73
|
@ -98,8 +98,6 @@ def summary(config, *args, **kwargs):
|
|||
width.status = max([len(x) for x in status_types])
|
||||
width.count = len(str(len(inv.source.keys())))
|
||||
for status in status_types:
|
||||
if status == 'all':
|
||||
continue
|
||||
count = len(getattr(inv, status, 0))
|
||||
s = '{0:{w.status}} {1:{w.count}} '.format(status, count, w=width)
|
||||
print(s, end="", file=file)
|
||||
|
|
Loading…
Reference in New Issue