Skip to content
Snippets Groups Projects
Commit 8f888e74 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

ver is a string

parent 524c1fa0
No related branches found
No related tags found
No related merge requests found
......@@ -602,7 +602,8 @@ def main():
else: # try shebang or default Python version
ver = (list(v for i, v in details.get('shebangs', [])
if v) or [None])[0] or DEFAULT
dependencies.depend("python%d.%d" % ver)
ver = vrepr(ver)
dependencies.depend("python%s" % ver)
args += " -V %s" % vrepr(ver)
else:
version = ext_for.pop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment