Skip to content

Ignore hidden directories when returning the finaldir#1413

Merged
boegel merged 4 commits intoeasybuilders:developfrom
wpoely86:ignorehidden
Oct 7, 2015
Merged

Ignore hidden directories when returning the finaldir#1413
boegel merged 4 commits intoeasybuilders:developfrom
wpoely86:ignorehidden

Conversation

@wpoely86
Copy link
Copy Markdown
Member

@wpoely86 wpoely86 commented Oct 7, 2015

No description provided.

Comment thread easybuild/tools/filetools.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use Dir, and dir is a keyword, so just use d (single-letter variables are fine in a list comprehension)

@boegel
Copy link
Copy Markdown
Member

boegel commented Oct 7, 2015

@wpoely86: let's enhance the unit tests too, maybe add a new test in test/framework/filetools.py dedicated to find_base_dir?

@boegel boegel added this to the v2.4.0 milestone Oct 7, 2015
@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2122/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.

@wpoely86
Copy link
Copy Markdown
Member Author

wpoely86 commented Oct 7, 2015

@boegel please recheck

@hpcugentbot
Copy link
Copy Markdown

EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2123/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/2124/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

boegel commented Oct 7, 2015

Looks great now, I'm happy to see that writing a test made you catch a bug in your one-line change. ;-)

Going in, thanks @wpoely86!

boegel added a commit that referenced this pull request Oct 7, 2015
Ignore hidden directories when returning the finaldir
@boegel boegel merged commit b594190 into easybuilders:develop Oct 7, 2015
@wpoely86 wpoely86 deleted the ignorehidden branch October 7, 2015 11:20
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