diff --git a/pyfpdb/interlocks.py b/pyfpdb/interlocks.py old mode 100755 new mode 100644 index c2e6abd6..496c5d0b --- a/pyfpdb/interlocks.py +++ b/pyfpdb/interlocks.py @@ -108,7 +108,7 @@ class InterProcessLockFcntl(InterProcessLockBase): self.lockfd = 0 try: os.unlink(self.lock_file_name) - except IOError: + except OSError: # We don't care about the existence of the file too much here. It's the flock() we care about, # And that should just go away magically. pass