[UX] Align to left the table for the validations run results
All the PrettyTables are aligned to left and this patch standardizes all the tables. Change-Id: Ide062e65b0a76078b5d3ce55a60df3cb5be34a0e Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com> (cherry picked from commitc6f22c1f3c
) (cherry picked from commitcdaf01d105
)
This commit is contained in:
parent
1c8c80644e
commit
de50061231
|
@ -374,6 +374,7 @@ class TripleOValidatorRun(command.Command):
|
||||||
t = PrettyTable(border=True, header=True, padding_width=1)
|
t = PrettyTable(border=True, header=True, padding_width=1)
|
||||||
# Set Field name by getting the result dict keys
|
# Set Field name by getting the result dict keys
|
||||||
t.field_names = results[0].keys()
|
t.field_names = results[0].keys()
|
||||||
|
t.align = 'l'
|
||||||
for r in results:
|
for r in results:
|
||||||
if r.get('Status_by_Host'):
|
if r.get('Status_by_Host'):
|
||||||
h = []
|
h = []
|
||||||
|
|
Loading…
Reference in New Issue