From: Michael Tremer Date: Tue, 7 Jan 2020 18:34:10 +0000 (+0000) Subject: tools: Do not raise exception immediately X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7180695d4bb628d06b057f16f4c893b4cabf1370;p=location%2Flocation-database.git tools: Do not raise exception immediately Was a debugging line that was left in Signed-off-by: Michael Tremer --- diff --git a/tools/base.py b/tools/base.py index fdd862f..ec2da8b 100644 --- a/tools/base.py +++ b/tools/base.py @@ -277,7 +277,6 @@ class RIRParser(object): try: network = ipaddress.ip_network("%s/%s" % (address, prefix), strict=False) except ValueError: - raise logging.warning("Invalid IP address: %s" % address) return