Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hps-public
xenv
Commits
28143239
Commit
28143239
authored
Nov 21, 2018
by
Benedikt von St. Vieth
Browse files
Adjust -U to use a list instead of just a module name.
parent
eca8068e
Changes
1
Hide whitespace changes
Inline
Side-by-side
xenv/modules.py
View file @
28143239
...
...
@@ -87,5 +87,5 @@ def restore(env, name):
# Restore modules from collection.
def
use
(
env
,
name
):
return
_module_command_function_pointer
(
env
)(
env
,
[
"use"
,
name
]
)
def
use
(
env
,
modules
):
return
_module_command_function_pointer
(
env
)(
env
,
[
"use"
]
+
modules
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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