From b3b6e169401b1ffae2cab123f95065042cff4373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Sat, 30 Sep 2017 20:57:39 +0200 Subject: [PATCH] Fix check_taginfo.py test for maxspeed tag in lower case --- scripts/check_taginfo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check_taginfo.py b/scripts/check_taginfo.py index e1661b752..329335563 100755 --- a/scripts/check_taginfo.py +++ b/scripts/check_taginfo.py @@ -19,6 +19,8 @@ with open(taginfo_path) as f: valid_strings = [t["key"] for t in taginfo["tags"]] valid_strings += [t["value"] for t in taginfo["tags"] if "value" in t] +valid_strings += [t["value"].lower() for t in taginfo["tags"] if "value" in t] # lower is for max speed +valid_strings = set(valid_strings) string_regxp = re.compile("\"([\d\w\_:]+)\"")