From 6ef826357e4b0bf9f4ce22b3101e38e550b73618 Mon Sep 17 00:00:00 2001 From: Stefan Oderbolz Date: Mon, 6 Jul 2015 22:58:10 +0200 Subject: [PATCH] Ignore name:de fixes, as they not welcome --- helper/errortypes.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helper/errortypes.py b/helper/errortypes.py index 463bc4d..9493127 100644 --- a/helper/errortypes.py +++ b/helper/errortypes.py @@ -69,6 +69,11 @@ def handles_error(cls, error): return error == 'language_unknown' def apply_fix(self, kort_fix): + # ignore this fix if 'de' is the answer, appearently + # the German OSM community doesn't like name:de tags + if kort_fix['answer'] == 'de': + raise ErrorTypeError("Ignore fixes for name:de tag") + try: orig_tag = kort_fix['osm_tag'].replace(':XX', '') new_tag = '%s:%s' % (orig_tag, kort_fix['answer'])