We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a4bbc5 commit 35a2c83Copy full SHA for 35a2c83
commands/preprocess.py
@@ -96,7 +96,7 @@ def convert_loader_name(fn):
96
else:
97
raise Exception('Loader file {0} does not match any known files'.format(fn))
98
99
-def find_files_to_be_renamed(root):
+def build_rename_map(root):
100
# Returns a rename map: a map from old to new file name
101
loader = re.compile(r'load\.php\?.*')
102
query = re.compile(r'\?.*')
preprocess.py
@@ -38,7 +38,7 @@ def main():
38
39
preprocess.rearrange_archive(root)
40
41
- rename_map = preprocess.find_files_to_be_renamed(root)
+ rename_map = preprocess.build_rename_map(root)
42
preprocess.rename_files(root, rename_map)
43
44
# clean the html files
0 commit comments