Commit f7501481 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

BF: Too many splits (was accounting for "-" at beginning of yaml list entry,

but that is not present here)
parent a36cf474
#!/usr/bin/env python
__version__ = '0.5.1'
__version__ = '0.5.2'
......@@ -51,7 +51,7 @@ def preprocess_environment(envfile, condadir, regen_envfile=False):
# <package>=<version>
# or
# <package>=<version>=<variant>
pkg, ver = pkg.split(maxsplit=2)
pkg, ver = pkg.split(maxsplit=1)
ver = ver.replace(' ', '=')
packages[i] = f'{pkg}={ver}'
......
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