[Zope-Checkins] CVS: Packages/Zope/Startup - __init__.py:1.7.2.6
Tres Seaver
tseaver at zope.com
Fri Jan 14 14:48:50 EST 2005
Update of /cvs-repository/Packages/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv16023/lib/python/Zope/Startup
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
- Collector #1661: wire up 'python-check-interval'.
=== Packages/Zope/Startup/__init__.py 1.7.2.5 => 1.7.2.6 ===
--- Packages/Zope/Startup/__init__.py:1.7.2.5 Fri May 28 08:23:20 2004
+++ Packages/Zope/Startup/__init__.py Fri Jan 14 14:48:20 2005
@@ -48,6 +48,7 @@
starter.dropPrivileges()
starter.makeLockFile()
starter.makePidFile()
+ starter.setupInterpreter()
starter.startZope()
starter.registerSignals()
# emit a "ready" message in order to prevent the kinds of emails
@@ -280,6 +281,10 @@
os.unlink(self.cfg.lock_filename)
except OSError:
pass
+
+ def setupInterpreter(self):
+ """ make changes to the python interpreter environment """
+ sys.setcheckinterval(self.cfg.python_check_interval)
def check_python_version():
More information about the Zope-Checkins
mailing list