File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import glob
55
66# Use the local code in preference to any pre-installed version
7- sys .path .insert (0 , '../python' )
7+ sys .path .insert (0 , '../../ python' )
88
99import phonenumbers
1010
1111# Manually grep for top-level identifiers
12- INTERNAL_FILES = ['../python/phonenumbers/util.py' ,
13- '../python/phonenumbers/re_util.py' ,
14- '../python/phonenumbers/unicode_util.py' ]
12+ INTERNAL_FILES = ['../../ python/phonenumbers/util.py' ,
13+ '../../ python/phonenumbers/re_util.py' ,
14+ '../../ python/phonenumbers/unicode_util.py' ]
1515CLASS_RE = re .compile (r"^class +([A-Za-z][_A-Za-z0-9]+)[ \(:]" )
1616FUNCTION_RE = re .compile ("^def +([A-Za-z][_A-Za-z0-9]+)[ \(]" )
1717CONSTANT_RE = re .compile ("^([A-Z][_A-Z0-9]+) *= *" )
1818
1919grepped_all = set ()
20- for filename in glob .glob ('../python/phonenumbers/*.py' ):
20+ for filename in glob .glob ('../../ python/phonenumbers/*.py' ):
2121 if filename in INTERNAL_FILES :
2222 continue
2323 with file (filename , "r" ) as infile :
You can’t perform that action at this time.
0 commit comments