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

skip non-existing files, temporary solution

parent 54d406f2
......@@ -460,6 +460,9 @@ class CycleControl(dict):
if os.path.isdir(file): # skip dirs
continue
if not os.path.exists(file): # skip dirs
msg = " [not found] .... %s " % file ; logging.warning(msg)
continue
msg = " [copy] .... %s " % file ; logging.debug(msg)
dummy = shutil.copy(file,file.replace(os.path.split(file)[0],targetdir) )
......
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