diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-05-22 09:18:46 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-05-22 09:18:46 -0400 |
commit | 9ea23406b13a9ae900511ae64ab29b6036c53f40 (patch) | |
tree | 44928d7ebac32c8fc2cc6c96978324acd5ff50e5 | |
parent | 35564bad48b15a50aaea34c6be3f310639b2f333 (diff) | |
download | korg-helpers-9ea23406b13a9ae900511ae64ab29b6036c53f40.tar.gz |
Fix typo in regex
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | git-patchwork-bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-patchwork-bot.py b/git-patchwork-bot.py index c646efe..4beb809 100755 --- a/git-patchwork-bot.py +++ b/git-patchwork-bot.py @@ -742,7 +742,7 @@ def housekeeping(rm, settings, nomail, dryrun): # Remove any [foo] from the front, for best matching. # Usually, patchwork strips these, but not always. - s_name = re.sub(r'^\[\.*?\]\s*', '', s_name) + s_name = re.sub(r'^\[.*?\]\s*', '', s_name) ver = entry.get('version') subm_id = entry.get('submitter').get('id') |