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

[DPE-2272] Fix parsing of empty lines in config files #31

Merged
merged 4 commits into from Aug 8, 2023
Merged

Conversation

welpaolo
Copy link
Contributor

@welpaolo welpaolo commented Aug 7, 2023

This PR resolves #26.

@welpaolo welpaolo requested a review from deusebio August 7, 2023 06:03
Copy link
Contributor

@deusebio deusebio left a comment

Choose a reason for hiding this comment

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

LGTM! The only thought I had is that we may want to be robust against commented lines, that are lines that starts with "#". I'm afraid that our solution wouldn't work in that case for similar reason

I understand that this goes beyond the exact scope of the ticket, so we can either modify things here (if it is reasonably easy) or open another issue.

spark8t/domain.py Outdated Show resolved Hide resolved
Copy link
Contributor

@deusebio deusebio left a comment

Choose a reason for hiding this comment

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

Reapproving :)

@welpaolo welpaolo merged commit 6b1b8f8 into main Aug 8, 2023
4 checks passed
@welpaolo welpaolo deleted the dpe-2272 branch August 8, 2023 08:07
@welpaolo welpaolo mentioned this pull request Sep 27, 2023
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.

Adding a config file with empty lines causes a crash
2 participants