Commit f1c5d474 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

only copy the unique elements of the list

parent 7ec35e11
......@@ -464,7 +464,7 @@ class CycleControl(dict):
msg = "Collecting the required restart data" ;
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
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