Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
manifest-rules
Commits
f7501481
Commit
f7501481
authored
Oct 19, 2021
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifest_rules/__init__.py
View file @
f7501481
#!/usr/bin/env python
__version__
=
'0.5.
1
'
__version__
=
'0.5.
2
'
manifest_rules/test_environment.py
View file @
f7501481
...
...
@@ -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
}
'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment