mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-05-13 05:03:09 +02:00
skip logging about ignored tags
This commit is contained in:
parent
a1735fdd69
commit
eda13885b0
1 changed files with 4 additions and 2 deletions
6
qa.py
6
qa.py
|
@ -125,10 +125,12 @@ def remove_bad_data(data, atp_code):
|
|||
|
||||
for key in list(data.keys()):
|
||||
if "</span>" in data.get(key):
|
||||
print(atp_code, "has", key, "=", data[key])
|
||||
if config.is_bogus_key_worth_mentioning(key, atp_code):
|
||||
print(atp_code, "has", key, "=", data[key])
|
||||
return None
|
||||
elif "<" in data.get(key) or ">" in data.get(key):
|
||||
print(atp_code, "has", key, "=", data[key])
|
||||
if config.is_bogus_key_worth_mentioning(key, atp_code):
|
||||
print(atp_code, "has", key, "=", data[key])
|
||||
if key in ['nsi_id']:
|
||||
# not sure why they put
|
||||
# nsi_id=N/A
|
||||
|
|
Loading…
Add table
Reference in a new issue