From 92c8e689146efd9bab24d8ba74c9eeba07699b5a Mon Sep 17 00:00:00 2001 From: Chaz Date: Wed, 24 Nov 2010 14:53:53 -0600 Subject: [PATCH] It's actually an OSError, not an IOError --- pyfpdb/interlocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 pyfpdb/interlocks.py 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