Skip to content
Snippets Groups Projects
Commit 45f9a817 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Added array jobs to be ignored from deletion as well

parent d796e4a7
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import shutil
def rm_test_dir():
cwd = os.getcwd()
for filename in os.listdir(cwd):
if not (filename.endswith("_env") or filename.endswith("_script")):
if not (filename.endswith("_env") or filename.endswith("_script") or filename.endswith(".job")):
if os.path.isfile(filename):
os.remove(filename)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment