fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix test
[wolnelektury.git]
/
apps
/
catalogue
/
utils.py
diff --git
a/apps/catalogue/utils.py
b/apps/catalogue/utils.py
index
9de4eaa
..
29f40d1
100644
(file)
--- a/
apps/catalogue/utils.py
+++ b/
apps/catalogue/utils.py
@@
-74,7
+74,7
@@
class LockFile(object):
try:
unlink(self.lockname)
except OSError as oe:
try:
unlink(self.lockname)
except OSError as oe:
- if oe.errno !=
oe.
EEXIST:
+ if oe.errno != EEXIST:
raise oe
self.lock.close()
raise oe
self.lock.close()