]> git.ipfire.org Git - location/location-database.git/commitdiff
tools: This is no longer a LACNIC parser only any more
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Jan 2020 18:34:39 +0000 (18:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Jan 2020 18:34:39 +0000 (18:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/base.py

index ec2da8bd60c38064271f3de79437f4a52a87ebe1..c5ea4b647478eac31ff7e1762774b14dd6c8cdaf 100644 (file)
@@ -229,7 +229,7 @@ class RIRParser(object):
                        return
 
                try:
-                       lacnic, country_code, type, line = line.split("|", 3)
+                       registry, country_code, type, line = line.split("|", 3)
                except:
                        logging.warning("Could not parse line: %s" % line)
                        return