Skip to content

Commit 63d85f5

Browse files
Famlamfrodrigo
authored andcommitted
Warn about tags with a literal star value
This usually indicates someone took the wiki or a validator a bit too literal.
1 parent 37b4785 commit 63d85f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/TagFix_BadValue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def check(self, data, tags, check_list_open):
125125
err.append({"class": 3040, "subclass": stablehash64(k), "text": T_("Concerns tag: `{0}`", '='.join([k, tags[k]])) })
126126

127127
for k in keyss:
128-
if tags[k] == "unknown":
128+
if tags[k] in ("unknown", "*"):
129129
err.append({"class": 40613, "subclass": stablehash64(k), "text": T_("Concerns tag: `{0}`", '='.join([k, tags[k]])) })
130130

131131
return err

0 commit comments

Comments
 (0)