r717 - zope2.7/trunk/lib/python/App

Jérémy Bobbio lunar at alioth.debian.org
Wed Mar 28 19:54:53 UTC 2007


Author: lunar
Date: 2007-03-28 18:54:53 +0000 (Wed, 28 Mar 2007)
New Revision: 717

Modified:
   zope2.7/trunk/lib/python/App/ApplicationManager.py
Log:
Fix missing REQUEST parameter in manage_restart.

This was preventing Zope to start using "zopectl start" (where "zopectl fg" was working successfully).


Modified: zope2.7/trunk/lib/python/App/ApplicationManager.py
===================================================================
--- zope2.7/trunk/lib/python/App/ApplicationManager.py	2007-03-28 16:26:49 UTC (rev 716)
+++ zope2.7/trunk/lib/python/App/ApplicationManager.py	2007-03-28 18:54:53 UTC (rev 717)
@@ -388,7 +388,7 @@
 
     if os.environ.has_key('ZMANAGED'):
         manage_restartable=1
-        def manage_restart(self, URL1):
+        def manage_restart(self, URL1, REQUEST=None):
             """Shut down the application"""
             try:
                 user = '"%s"' % getSecurityManager().getUser().getUserName()




More information about the pkg-zope-commits mailing list