From 44cb589cfdb7b216f327176ff58331338a76a92c Mon Sep 17 00:00:00 2001 From: Martin Urbanec Date: Tue, 14 Jul 2020 14:43:51 +0000 Subject: [PATCH] new_wikis_handler: Print only one Checking row Plus prepend T to the task number to make it more obvious --- new_wikis_handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/new_wikis_handler.py b/new_wikis_handler.py index 95dec14..5767a8a 100644 --- a/new_wikis_handler.py +++ b/new_wikis_handler.py @@ -66,7 +66,7 @@ def hande_task(phid): global final_text final_text = '' task_details = client.taskDetails(phid) - print('Checking', task_details['id']) + print('Checking T%s' % task_details['id']) add_text('\n\n------\n**Pre-install automatic checklist:**') language_code = re.findall(r'\n- *?\*\*Language code:\*\* *?(\S+)', task_details['description']) if not language_code: @@ -266,7 +266,6 @@ def hande_task(phid): def main(): open_create_wikis_phid = 'PHID-PROJ-kmpu7gznmc2edea3qn2x' for phid in client.getTasksWithProject(open_create_wikis_phid, statuses=['open']): - print('Checking', phid) hande_task(phid)