yet another script loading
[wolnelektury.git] / apps / catalogue / utils.py
index 9de4eaa..29f40d1 100644 (file)
@@ -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()