Skip to content

hoist string value into a list in make_module_req#1502

Merged
boegel merged 3 commits intoeasybuilders:developfrom
boegel:fix_mod_guesses
Dec 7, 2015
Merged

hoist string value into a list in make_module_req#1502
boegel merged 3 commits intoeasybuilders:developfrom
boegel:fix_mod_guesses

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Dec 7, 2015

minor enhancement to avoid weird problems when passing a string value rather than a list

without this, you may run into an error like:

Absolute path / passed to prepend_paths which only expects relative paths

caused by make_module_req looping over the string value as if it were a list...

cc @wpoely86: please review?

@boegel boegel added this to the v2.5.0 milestone Dec 7, 2015
@wpoely86
Copy link
Copy Markdown
Member

wpoely86 commented Dec 7, 2015

It looks fine. Do we want to warn about it being a string instead of a list of just silently convert?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Dec 7, 2015

Adding a warning doesn't hurt I guess, will do.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2402/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2403/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Dec 7, 2015

Thanks for the review @wpoely86!

boegel added a commit that referenced this pull request Dec 7, 2015
hoist string value into a list in make_module_req
@boegel boegel merged commit ec50a79 into easybuilders:develop Dec 7, 2015
@boegel boegel deleted the fix_mod_guesses branch December 7, 2015 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants