Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
fsl-ci-rules
Commits
4d6be513
Commit
4d6be513
authored
Jan 30, 2021
by
Paul McCarthy
🚵
Browse files
BF: need filename
parent
8d96d996
Changes
1
Show whitespace changes
Inline
Side-by-side
fsl_ci/__init__.py
View file @
4d6be513
...
...
@@ -17,7 +17,7 @@ import contextlib as ctxlib
import
subprocess
as
sp
__version__
=
'0.1.
1
'
__version__
=
'0.1.
2
'
"""Current version of the fsl-ci-rules."""
...
...
@@ -96,7 +96,7 @@ def lockdir(dirname):
while
True
:
try
:
fprint
(
f
'Attempting to lock
{
dirname
}
for exclusive access.'
)
fd
=
os
.
open
(
os
.
O_CREAT
|
os
.
O_EXCL
|
os
.
O_RDWR
)
fd
=
os
.
open
(
lockfile
,
os
.
O_CREAT
|
os
.
O_EXCL
|
os
.
O_RDWR
)
break
except
OSError
as
e
:
if
e
.
errno
!=
errno
.
EEXIST
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment