Skip to content

Commit

Permalink
wmllint: don't even try to convert _info.cfg
Browse files Browse the repository at this point in the history
(cherry-picked from commit 6e69666)
  • Loading branch information
Elvish-Hunter committed Oct 7, 2018
1 parent 46f9d93 commit 236ca25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/tools/wmllint
Expand Up @@ -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."
Expand Down

0 comments on commit 236ca25

Please sign in to comment.