diff --git a/lib/version.py b/lib/version.py index bed2811..5e1fe90 100644 --- a/lib/version.py +++ b/lib/version.py @@ -7,5 +7,5 @@ def url_for_version(ver): match = version_re.match(ver) if not match: return app.config['REPO_URL'] - return app.config['COMMIT_URL'].format(hash=match.group('hash')) + return app.config['COMMIT_URL'].format(**match.groups())