Fix the invalid change-id ext-link url

Change-Id: Ie1284b4b83b17cc37c956130487b0deb016f7a24
Closes-Bug: #1728521
This commit is contained in:
Guoqiang Ding
2017-10-30 15:03:59 +08:00
parent 10c8635f36
commit 088cd904ec
2 changed files with 5 additions and 5 deletions

View File

@@ -308,7 +308,7 @@ def make_commit_message(record):
r'\1<a href="https://bugs.launchpad.net/bugs/\2" '
r'class="ext_link">\2</a>', s)
s = re.sub(r'\s+(I[0-9a-f]{40})',
r' <a href="https://review.openstack.org/#q,\1,n,z" '
r' <a href="https://review.openstack.org/#/q/\1" '
r'class="ext_link">\1</a>', s)
s = utils.unwrap_text(s)