This commit is contained in:
codl 2017-08-20 18:52:09 +02:00
parent 069a8ab9fb
commit 0360de3d95
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -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())