Answer stability round 2: an unmatched capital's log line names both ways it can match
This commit is contained in:
@@ -152,7 +152,7 @@ def capitals(cache, places, counties):
|
|||||||
if code:
|
if code:
|
||||||
out.add(code)
|
out.add(code)
|
||||||
else:
|
else:
|
||||||
print(f"{state} {name}: capital is no incorporated place", file=sys.stderr)
|
print(f"{state} {name}: capital matches no incorporated place by GNIS id or by a name unique in its state", file=sys.stderr)
|
||||||
return out
|
return out
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user