Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighthouse 465 patch #49

Closed
wants to merge 2 commits into from
Closed

Lighthouse 465 patch #49

wants to merge 2 commits into from

Conversation

sebhoss
Copy link
Contributor

@sebhoss sebhoss commented Dec 7, 2010

This is a small fix inside the modulesrepo.py file which excludes hidden folders from getting picked up by the build-module command.

@guillaumebort
Copy link
Contributor

Are your sure?

or dirpath.find('/.') > -1:

would be probably better.

@jpbriend
Copy link

jpbriend commented Dec 8, 2010

maybe even use os.sep in Python to be OS-independant : dirpath.find('/.') may not work in Windows.
Something like dirpath.find(os.sep+'.') should be better.

…t separator, thanks to Jean-Philippe Briend.

Signed-off-by: Sebastian Hoß <mail@shoss.de>
@sebhoss
Copy link
Contributor Author

sebhoss commented Dec 8, 2010

I've included the change suggested by jpbriend and can confirm that this works as intended on Windows. It now replaces the first call to dirpath.find('/.') > -1 which was already in the code with dirpath.find(os.sep + '.') > -1

@guillaumebort
Copy link
Contributor

Done.

This pull request was closed.
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.

None yet

3 participants