Fix the invalid change-id ext-link url
Change-Id: Ie1284b4b83b17cc37c956130487b0deb016f7a24 Closes-Bug: #1728521
This commit is contained in:
parent
10c8635f36
commit
088cd904ec
@ -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)
|
||||
|
@ -46,8 +46,8 @@ returned.
|
||||
Fixes bug <a href="https://bugs.launchpad.net/bugs/1076801" class="ext_link">\
|
||||
1076801</a>
|
||||
''' + (
|
||||
'Change-Id: <a href="https://review.openstack.org/#q,'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db,n,z" class="ext_link">'
|
||||
'Change-Id: <a href="https://review.openstack.org/#/q/'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db" class="ext_link">'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db</a>')
|
||||
|
||||
observed = helpers.make_commit_message(record)
|
||||
@ -73,8 +73,8 @@ Implemented new driver for Cinder <:
|
||||
Implements Blueprint ''' + (
|
||||
'<a href="https://blueprints.launchpad.net/cinder/+spec/'
|
||||
'super-driver" class="ext_link">super-driver</a>' + '\n' +
|
||||
'Change-Id: <a href="https://review.openstack.org/#q,'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db,n,z" class="ext_link">'
|
||||
'Change-Id: <a href="https://review.openstack.org/#/q/'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db" class="ext_link">'
|
||||
'Ie49ccd2138905e178843b375a9b16c3fe572d1db</a>')
|
||||
|
||||
observed = helpers.make_commit_message(record)
|
||||
|
Loading…
Reference in New Issue
Block a user