blob: f10d37de8a75feec07a4d5b67acd0e044ad2bc71 [file] [log] [blame] [edit]
# The comprehensions here shouldn't get collapsed to single lines.
GLOB_resources_legacy_txt = glob(["resources/legacy/*.txt"])
GLOB_resources_legacy_txt2 = [
filename_and_some_extra_to_make_this_long
for filename_and_some_extra_to_make_this_long in GLOB_resources_legacy_txt
]
legacy_txt_name_to_filename = {
filename.split("/")[-1][:-len(".txt")].lower(): filename
for filename in GLOB_resources_legacy_txt_tuple
}