From: Michael Tremer Date: Mon, 9 Dec 2019 20:09:36 +0000 (+0000) Subject: location-exporter: Accept A1, A2, A3 as compat country codes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8301f9713cb16ee735ccc7b18733ea98c9098a43;p=people%2Fsennis%2Flibloc.git location-exporter: Accept A1, A2, A3 as compat country codes Signed-off-by: Michael Tremer --- diff --git a/src/python/location-exporter.in b/src/python/location-exporter.in index 3074b90..2c5e915 100644 --- a/src/python/location-exporter.in +++ b/src/python/location-exporter.in @@ -291,7 +291,8 @@ class CLI(object): asns.append(object) - elif location.country_code_is_valid(object): + elif location.country_code_is_valid(object) \ + or object in ("A1", "A2", "A3"): countries.append(object) else: