Fix wrong python keyword (followup to #36357) (#41067)

Also add tests around that code path
This commit is contained in:
Andrew Gaffney 2018-06-07 09:18:07 -05:00 committed by Abhijit Menon-Sen
parent c403f01971
commit 0ff04ad41b
2 changed files with 21 additions and 1 deletions

View file

@ -422,7 +422,7 @@ class DataLoader:
if allow_dir:
found.extend(self._get_dir_vars_files(to_text(full_path), extensions))
else:
next
continue
else:
found.append(full_path)
break