unit tests : fixed failing tests
This commit is contained in:
parent
34fe51a4aa
commit
b3a6e307b9
@ -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))
|
||||||
|
try:
|
||||||
os.makedirs(dirname)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user