Skip to content

Commit

Permalink
Another place where Windows raises a different exception
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatterson committed Oct 21, 2012
1 parent 87c5992 commit fd7e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zope2/Startup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def makePidFile(self):
f = open(self.cfg.pid_filename, 'w')
f.write(str(os.getpid()))
f.close()
except IOError:
except (IOError, WindowsError):
pass

def unlinkPidFile(self):
Expand Down

0 comments on commit fd7e876

Please sign in to comment.