wmllint: don't even try to convert _info.cfg

(cherry-picked from commit 6e696661fd)
This commit is contained in:
Elvish_Hunter 2018-08-12 16:44:02 +02:00
parent 46f9d93c4c
commit 236ca25832

View file

@ -2969,7 +2969,8 @@ vctypes = (".svn", ".git", ".hg")
def interesting(fn):
"Is a file interesting for conversion purposes?"
return fn.endswith(".cfg") or is_map(fn) or issave(fn)
return (fn.endswith(".cfg") and not fn.endswith("_info.cfg")) \
or is_map(fn) or issave(fn)
def allcfgfiles(directory):
"Get the names of all interesting files under directory."