]> git.ipfire.org Git - people/sennis/libloc.git/blobdiff - src/python/location-exporter.in
location-exporter: Accept A1, A2, A3 as compat country codes
[people/sennis/libloc.git] / src / python / location-exporter.in
index 3074b9004a5093e505a4eaedd8bc10fb24ab2694..2c5e91532460310fd0cd701597d9bfbee92da70a 100644 (file)
@@ -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: