Commit fd7e8760 authored by Ross Patterson's avatar Ross Patterson

Another place where Windows raises a different exception

parent 87c5992e
...@@ -292,7 +292,7 @@ class ZopeStarter: ...@@ -292,7 +292,7 @@ class ZopeStarter:
f = open(self.cfg.pid_filename, 'w') f = open(self.cfg.pid_filename, 'w')
f.write(str(os.getpid())) f.write(str(os.getpid()))
f.close() f.close()
except IOError: except (IOError, WindowsError):
pass pass
def unlinkPidFile(self): def unlinkPidFile(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment