From: Michael Tremer Date: Tue, 30 Jan 2018 15:17:12 +0000 (+0000) Subject: util: In the RIPE database, % is a comment, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf23f50f01014f26a8bd81c61f946e12f604e01d;p=location%2Flocation-database.git util: In the RIPE database, % is a comment, too Signed-off-by: Michael Tremer --- diff --git a/tools/util.py b/tools/util.py index 9cdca70..d3a8f24 100644 --- a/tools/util.py +++ b/tools/util.py @@ -37,7 +37,7 @@ def iterate_over_blocks(f, charsets=("utf-8", "latin1")): line = line.rstrip() # Skip commented lines - if line.startswith("#"): + if line.startswith("#") or line.startswith("%"): continue if line: