]> git.ipfire.org Git - location/libloc.git/commitdiff
importer: Fix incorrect variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 13:49:58 +0000 (13:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Mar 2024 13:49:58 +0000 (13:49 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/location-importer.in

index 708f793e27916f1ab49f74bbeaf4a3e96143d369..b9d8eccb824edf61c296de982cb7fed562c742bf 100644 (file)
@@ -961,7 +961,7 @@ class CLI(object):
        async def _import_extended_format(self, source, countries, f, *args):
                # Iterate over all lines
                for line in iterate_over_lines(f):
-                       self._parse_line(block, source, countries)
+                       self._parse_line(line, source, countries)
 
        async def _import_arin_as_names(self, source, countries, f, *args):
                # Walk through the file