1 parent 87e4af4 commit ced2260Copy full SHA for ced2260
1 file changed
preprocess.py
@@ -77,6 +77,10 @@ def rearrange_archive(root):
77
# remove what's left
78
shutil.rmtree(path)
79
80
+ # remove the XML source file
81
+ for fn in fnmatch.filter(os.listdir(root), 'cppreference-export*.xml'):
82
+ os.remove(os.path.join(root, fn))
83
+
84
def add_file_to_rename_map(rename_map, dir, fn, new_fn):
85
path = os.path.join(dir, fn)
86
if not os.path.isfile(path):
0 commit comments