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 <[email protected]> Thu, 24 May 2012 17:29:10 -0400 (EDT)
Newsgroups gmane.comp.web.zope.cvs
Message-ID <[email protected]>
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

_______________________________________________
Zope-Checkins maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins