From: Michael Tremer Date: Wed, 21 Feb 2024 17:04:43 +0000 (+0000) Subject: importer: Drop previously imported AS names, too X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54b3f745452622b6d34ac5755e18fb05cee37bae;p=location%2Flibloc.git importer: Drop previously imported AS names, too Signed-off-by: Michael Tremer --- diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in index bff0250..d5691b6 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -502,6 +502,7 @@ class CLI(object): """) # Remove all previously imported content + self.db.execute("DELETE FROM autnums WHERE source = %s", source) self.db.execute("DELETE FROM networks WHERE source = %s", source) try: