This commit is contained in:
parent
069a8ab9fb
commit
0360de3d95
|
@ -7,5 +7,5 @@ def url_for_version(ver):
|
||||||
match = version_re.match(ver)
|
match = version_re.match(ver)
|
||||||
if not match:
|
if not match:
|
||||||
return app.config['REPO_URL']
|
return app.config['REPO_URL']
|
||||||
return app.config['COMMIT_URL'].format(hash=match.group('hash'))
|
return app.config['COMMIT_URL'].format(**match.groups())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue