Commit 807c3347 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix script to output file content anyways

parent 0e6fc8a1
Pipeline #34896 passed with stage
in 57 seconds
......@@ -64,6 +64,12 @@ def main():
matches.append(filename)
inputtar.close()
ascii_name = output_tarball + "_filecontent.txt"
with open(ascii_name, "w") as outfile:
outfile.write("\n".join(dircontent))
print(os.listdir('.'))
# checking whether _all_ files in dircontent have the same prefix dirname in the path
dirprefix = dircontent[0].split("/")[0]
for ii in dircontent:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment