Skip to content
Snippets Groups Projects
Commit b3a6e307 authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Todd Gamblin
Browse files

unit tests : fixed failing tests

parent 34fe51a4
Branches
Tags
No related merge requests found
...@@ -707,7 +707,10 @@ def prefix_lock(self): ...@@ -707,7 +707,10 @@ def prefix_lock(self):
if not os.path.exists(lock_file): if not os.path.exists(lock_file):
tty.debug('TOUCH FILE : {0}'.format(lock_file)) tty.debug('TOUCH FILE : {0}'.format(lock_file))
os.makedirs(dirname) try:
os.makedirs(dirname)
except OSError:
pass
touch(lock_file) touch(lock_file)
self._prefix_lock = llnl.util.lock.Lock(lock_file) self._prefix_lock = llnl.util.lock.Lock(lock_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment