[MIG] module_auto_update: Migration to 14.0
parent
50c555da1b
commit
1b1a750a6c
|
@ -14,7 +14,7 @@ def _fnmatch(filename, patterns):
|
||||||
|
|
||||||
|
|
||||||
def _walk(top, exclude_patterns, keep_langs):
|
def _walk(top, exclude_patterns, keep_langs):
|
||||||
keep_langs = {l.split("_")[0] for l in keep_langs}
|
keep_langs = {language.split("_")[0] for language in keep_langs}
|
||||||
for dirpath, dirnames, filenames in os.walk(top):
|
for dirpath, dirnames, filenames in os.walk(top):
|
||||||
dirnames.sort()
|
dirnames.sort()
|
||||||
reldir = os.path.relpath(dirpath, top)
|
reldir = os.path.relpath(dirpath, top)
|
||||||
|
|
Loading…
Reference in New Issue