From d3d686b4e384b10315c7db075dcdb352b34c2f5e Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 14 May 2021 11:18:23 +0200 Subject: [PATCH] Remove debugging output --- web_view.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/web_view.py b/web_view.py index f3c03d9..081b357 100755 --- a/web_view.py +++ b/web_view.py @@ -68,7 +68,6 @@ def check_for_tagged_qids(qids): for qid in qids: for cls in model.Point, model.Polygon, model.Line: q = cls.query.filter(cls.tags["wikidata"] == qid) - print(q) if q.count(): tagged.add(qid) break @@ -684,7 +683,6 @@ def get_items(item_ids): for item_id in item_ids: item = model.Item.query.get(item_id) if not item: - print(f"get Q{item_id}") if not get_and_save_item(f"Q{item_id}"): continue item = model.Item.query.get(item_id) @@ -707,7 +705,6 @@ def get_item_tags(item): if isa.qid in extra_keys: osm += extra_keys[isa.qid] - print(isa.qid, isa.label(), osm) osm_list.update(osm) subclass_of = [v["numeric-id"] for v in (isa.get_claim("P279") or []) if v]