Skip to content

Commit

Permalink
Not allowing empty file names, possbly coming from \n in find command
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Nilsson committed Dec 16, 2024
1 parent aa6aabc commit b95d9b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pilot/user/atlas/loopingjob_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def remove_unwanted_files(workdir: str, files: list[str]) -> list[str]:
"memory_" in _file or
"mem." in _file or
"docs/" in _file or
"DBRelease-" in _file):
"DBRelease-" in _file or
_file == ""):
_files.append(_file)

return _files

0 comments on commit b95d9b9

Please sign in to comment.