Commit a9d6ca08 by Erich Blume Committed by Sébastien Eustace

Fix sonnet handling of single specified pythons (#719)

parent 39f83785
...@@ -37,9 +37,10 @@ class MakeReleaseCommand(Command): ...@@ -37,9 +37,10 @@ class MakeReleaseCommand(Command):
for python in self.option("python"): for python in self.option("python"):
parts = python.split(":", 1) parts = python.split(":", 1)
if len(parts) == 1: if len(parts) == 1:
pythons[parts[0]] = self.PYTHON[parts[0]] python = self.PYTHON[parts[0]]
version = parts[0]
version, python = parts else:
version, python = parts
pythons[version] = python pythons[version] = python
self.check_system(pythons) self.check_system(pythons)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment