Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Empty lines at end of file #6

Closed
ojgarciab opened this issue Aug 18, 2021 · 0 comments
Closed

Empty lines at end of file #6

ojgarciab opened this issue Aug 18, 2021 · 0 comments

Comments

@ojgarciab
Copy link
Contributor

All block files have a last empty line which could cause a malfunction:

The worst case is the following file (DNSMASQ):

server=//

Empty line could be removed with a simple filter:

entries = list(filter(None, entries))
ewpratten added a commit that referenced this issue Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant