Commit 27a15f3d authored by Graeme A Stewart's avatar Graeme A Stewart
Browse files

Remove manual race condition

Committed accidentally!
parent 51bbf002
......@@ -217,7 +217,6 @@ def update(src,dest,old_dest = None, syml = False, logdir = realpath(".")):
# To avoid race conditions on makedirs(), use EAFP (see GAUDI-1105)
if (not exists(realdest)) or (getmtime(realsrc) > getmtime(realdest)):
makedirs(dest_path) # <- manual race condition
print "Created dir '{0}'".format(dest_path)
except OSError as e:
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