mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-21 19:42:38 +01:00
Fix checking for abandoned patches for removing #patch-for-review
The formatting has changed. Bug: T276390
This commit is contained in:
parent
420c5ae215
commit
2cbe8ea3af
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class Checker():
|
|||
gerrit_patch_id = re.findall(
|
||||
r'https://gerrit(?:-test|)\.wikimedia\.org/r/.*(\d+)(?:$|\]\])', raw_comment)[0]
|
||||
merged = re.findall(
|
||||
r'Change \d+ (?:\*\*merged\*\*|abandoned) by ',
|
||||
r'Change \d+ \*\*(?:merged|abandoned)\*\* by ',
|
||||
raw_comment)
|
||||
|
||||
gerrit_patch_status[gerrit_patch_id].append(not(bool(merged)))
|
||||
|
|
Loading…
Reference in a new issue