fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
773f8a7
)
fix lock
author
Jan Szejko
<janek37@gmail.com>
Wed, 15 Feb 2017 14:13:06 +0000
(15:13 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 15 Feb 2017 14:13:06 +0000
(15:13 +0100)
src/catalogue/utils.py
patch
|
blob
|
history
diff --git
a/src/catalogue/utils.py
b/src/catalogue/utils.py
index
60a5671
..
2f3b949
100644
(file)
--- a/
src/catalogue/utils.py
+++ b/
src/catalogue/utils.py
@@
-85,7
+85,7
@@
class LockFile(object):
try:
unlink(self.lockname)
except OSError as oe:
try:
unlink(self.lockname)
except OSError as oe:
- if oe.errno != E
EXIS
T:
+ if oe.errno != E
NOEN
T:
raise oe
self.lock.close()
raise oe
self.lock.close()