From e544a317ecbf18f0b9fa32212cbc3c6df6c6976c Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Tue, 3 Nov 2015 16:12:02 +0100 Subject: [PATCH] Fix alignment in admin batch jobs listing --- mutalyzer/entrypoints/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutalyzer/entrypoints/admin.py b/mutalyzer/entrypoints/admin.py index d41df614..b0d26f35 100644 --- a/mutalyzer/entrypoints/admin.py +++ b/mutalyzer/entrypoints/admin.py @@ -186,8 +186,8 @@ def list_batch_jobs(): 'email_len': max(len(j.email) for j, _ in batch_jobs_with_counts) } - template = ('{id:{id_len}} {type:<{type_len}} {added:%Y-%m-%d %H:%M:%S}' - ' {count:<{count_len}} {email:{email_len}}') + template = ('{id:>{id_len}} {type:{type_len}} {added:%Y-%m-%d %H:%M:%S}' + ' {count:>{count_len}} {email:{email_len}}') for batch_job, count in batch_jobs_with_counts: print template.format( -- GitLab