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

spec file: cast paths in source.exclude_dirs to lowercase #956

Merged
merged 1 commit into from Oct 27, 2019

Conversation

SomberNight
Copy link
Contributor

The paths tested against source.exclude_dirs (set in buildozer.spec) are cast to lowercase but the paths in source.exclude_dirs are left as-is:

filtered_root = root[len(source_dir) + 1:].lower()

if filtered_root.startswith(exclude_dir):

This could result in confusion if the user lists non-lowercase paths in source.exclude_dirs as they would never match anything.

The paths tested against source.exclude_dirs are already cast to
lowercase but previously the paths in source.exclude_dirs were left
as-is.
This could result in confusion if the user lists non-lowercase paths
in source.exclude_dirs as they would never match anything.
@tito tito merged commit b6981f8 into kivy:master Oct 27, 2019
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

2 participants