Fix paths in *update_wiki.py*

This commit is contained in:
mcarton 2016-06-17 12:57:44 +02:00
parent cbe7b39dbd
commit d921dfa2c3

View file

@ -13,7 +13,7 @@ conf_re = re.compile(r'''define_Conf! {\n([^}]*)\n}''', re.MULTILINE)
confvar_re = re.compile(r'''/// Lint: (\w+). (.*).*\n *\("([^"]*)", (?:[^,]*), (.*) => (.*)\),''')
def parse_path(p="src"):
def parse_path(p="clippy_lints/src"):
d = {}
for f in os.listdir(p):
if f.endswith(".rs"):