]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
importer: Pass downloader to the ARIN import
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Feb 2024 15:36:44 +0000 (15:36 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Feb 2024 15:36:44 +0000 (15:36 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/location-importer.in

index 9459ea08b12ccc67ee93ce754ac46916534b5e60..6a99cf1e8897530816a1c1d6f88ca89fb67b79dc 100644 (file)
@@ -669,7 +669,7 @@ class CLI(object):
 
                # Download and import (technical) AS names from ARIN
                with self.db.transaction():
-                       self._import_as_names_from_arin()
+                       self._import_as_names_from_arin(downloader)
 
                # Return a non-zero exit code for errors
                return 1 if error else 0