Skip to content

Commit abd8bc2

Browse files
committed
Use common REGION_CODE_FOR_NON_GEO_ENTITY
1 parent f6943b9 commit abd8bc2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/python/buildmetadatafromxml.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,11 @@ def u(s):
6868

6969
# Pull in the data structure definitions
7070
from phonenumbers.phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
71+
from phonenumbers.phonemetadata import REGION_CODE_FOR_NON_GEO_ENTITY
7172
from phonenumbers.util import UnicodeMixin
7273

7374
# Convention: variables beginning with 'x' are XML objects
7475

75-
REGION_CODE_FOR_NON_GEO_ENTITY = "001"
76-
7776
# Top-level XML element containing data
7877
TOP_XPATH = "territories"
7978
# XML element name for the territory element

0 commit comments

Comments
 (0)