diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-01-09 13:00:27 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2019-01-09 13:00:27 -0500 |
commit | 5c42ac69b45eedc0f1d25d13e80f03d5934968b1 (patch) | |
tree | 626644389285a01e49c86506eb95efa3f21986c1 | |
parent | abcd9b1a47ff01cfb336a25f99f4400de8e97289 (diff) | |
download | korg-helpers-5c42ac69b45eedc0f1d25d13e80f03d5934968b1.tar.gz |
Don't force a slash in commit link
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | git-patchwork-bot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-patchwork-bot.py b/git-patchwork-bot.py index 3ef29d7..ed3691f 100755 --- a/git-patchwork-bot.py +++ b/git-patchwork-bot.py @@ -638,7 +638,7 @@ def notify_submitters(rm, serieslist, refname, config, revs, nomail): for patch in sdata.get('patches'): body += ' - %s\n' % patch.get('name') if 'commitlink' in config: - body += ' %s/%s\n' % (config['commitlink'], revs[patch.get('id')]) + body += ' %s%s\n' % (config['commitlink'], revs[patch.get('id')]) body += ('\nYou are awesome, thank you!\n\n' '-- \nDeet-doot-dot, I am a bot.\n' @@ -805,7 +805,7 @@ def housekeeping(rm, settings, nomail, dryrun): if sreport: report += 'Latest series: [v%s] %s (%s)\n' % (items[latest_version]['rev'], name, - items[latest_version]['date']) + items[latest_version]['date']) report += '\n'.join(sreport) report += '\n\n' @@ -943,7 +943,7 @@ def pwrun(repo, cmdconfig, nomail, dryrun): db_heads = db_get_repo_heads(c) newrevs = git_get_new_revs(repo, db_heads, git_heads) - config = get_config_from_repo(repo, 'patchwork\..*', cmdconfig) + config = get_config_from_repo(repo, r'patchwork\..*', cmdconfig) global _project_cache |