mirror of https://github.com/tLDP/python-tldp
shrink the total window width (want to fit in 80 cols)
This commit is contained in:
parent
33b8e04e33
commit
5f9533045c
|
@ -41,7 +41,7 @@ def summary(config, inv=None, **kwargs):
|
|||
s = ''
|
||||
if abbrev:
|
||||
s = s + abbrev.pop(0)
|
||||
while abbrev and len(s) < 50:
|
||||
while abbrev and len(s) < 40:
|
||||
s = s + ', ' + abbrev.pop(0)
|
||||
if abbrev:
|
||||
s = s + ', and %d more ...' % (len(abbrev))
|
||||
|
|
Loading…
Reference in New Issue