Skip to content
Snippets Groups Projects
Commit f1c5d474 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

only copy the unique elements of the list

parent 7ec35e11
Branches
No related tags found
No related merge requests found
......@@ -464,7 +464,7 @@ class CycleControl(dict):
msg = "Collecting the required restart data" ; logging.info(msg)
msg = " to directory: %s " % targetdir ; logging.debug(msg)
for file in self.RestartFileList:
for file in set(self.RestartFileList):
if os.path.isdir(file): # skip dirs
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment