[Checkins] SVN: Zope/branches/2.13/src/Zope2/Startup/run.py Place lock file cleanup in a better place, run() already has a finally clause

Ross Patterson cvs-admin at zope.org
Thu May 24 21:29:10 UTC 2012


Log message for revision 126495:
  Place lock file cleanup in a better place, run() already has a finally clause
  

Changed:
  U   Zope/branches/2.13/src/Zope2/Startup/run.py

-=-
Modified: Zope/branches/2.13/src/Zope2/Startup/run.py
===================================================================
--- Zope/branches/2.13/src/Zope2/Startup/run.py	2012-05-24 21:16:41 UTC (rev 126494)
+++ Zope/branches/2.13/src/Zope2/Startup/run.py	2012-05-24 21:29:06 UTC (rev 126495)
@@ -20,9 +20,9 @@
     starter.setConfiguration(opts.configroot)
     try:
         starter.prepare()
-        starter.run()
     finally:
         starter.shutdown()
+    starter.run()
 
 def configure(configfile):
     """ Provide an API which allows scripts like zopectl to configure



More information about the checkins mailing list