[Zope-Checkins] CVS: Zope/lib/python/App - ApplicationManager.py:1.88
Chris McDonough
chrism@zope.com
Sat, 12 Apr 2003 21:56:38 -0400
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv3329/lib/python/App
Modified Files:
ApplicationManager.py
Log Message:
Reenable web-controlled restart under the zdctl regime.
=== Zope/lib/python/App/ApplicationManager.py 1.87 => 1.88 ===
--- Zope/lib/python/App/ApplicationManager.py:1.87 Thu Mar 13 17:18:33 2003
+++ Zope/lib/python/App/ApplicationManager.py Sat Apr 12 21:56:07 2003
@@ -318,10 +318,7 @@
if s >= 1048576.0: return '%.1fM' % (s/1048576.0)
return '%.1fK' % (s/1024.0)
-
-
- if hasattr(sys, 'ZMANAGED'):
-
+ if os.environ.has_key('ZMANAGED'):
manage_restartable=1
def manage_restart(self, URL1):
"""Shut down the application"""