mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-22 03:52:37 +01:00
Merge pull request #14 from urbanecm/double-checking-notices
new_wikis_handler: Print only one Checking row
This commit is contained in:
commit
878de1b45b
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue