kopia lustrzana https://github.com/jupyterhub/repo2docker
conda: fix Python version detection
detecting Python 3.5 wasn't happening properlypull/209/head
rodzic
9b7fcb718a
commit
40417b6a7f
|
@ -100,7 +100,7 @@ class CondaBuildPack(BuildPack):
|
|||
self._python_version = self.major_pythons.get(py_version[0])
|
||||
else:
|
||||
# return major.minor
|
||||
self._python_version = '.'.join(py_version[:2])
|
||||
self._python_version = '.'.join(py_version.split('.')[:2])
|
||||
else:
|
||||
self._python_version = ''
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue