fix alignment

This commit is contained in:
Tomas Kopecek 2019-05-21 15:55:56 +02:00 committed by Mike McLean
parent 20b6239220
commit 30d303cab2

View file

@ -2824,7 +2824,7 @@ def anon_handle_list_hosts(goptions, session, args):
if options.show_channels:
hdr += " Channels"
print(hdr)
mask = "%%(name)-%ss %%(enabled)-3s %%(ready)-3s %%(task_load)4.1f/%%(capacity)-4.1f %%(arches)-16s %%(update)s" % longest_host
mask = "%%(name)-%ss %%(enabled)-3s %%(ready)-3s %%(task_load)4.1f/%%(capacity)-4.1f %%(arches)-16s %%(update)-19s" % longest_host
if options.show_channels:
mask += " %(channels)s"
for host in hosts: