[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - __init__.py:1.2.2.11

Fred L. Drake, Jr. fred@zope.com
Tue, 18 Mar 2003 15:47:58 -0500


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv19587

Modified Files:
      Tag: new-install-branch
	__init__.py 
Log Message:
Be more specific about a check.


=== Zope/lib/python/Zope/Startup/__init__.py 1.2.2.10 => 1.2.2.11 ===
--- Zope/lib/python/Zope/Startup/__init__.py:1.2.2.10	Mon Feb 24 17:30:18 2003
+++ Zope/lib/python/Zope/Startup/__init__.py	Tue Mar 18 15:47:58 2003
@@ -140,7 +140,7 @@
 
         # flush buffered startup messages to event logger
         event_logger.removeHandler(startup_handler)
-        if cfg.eventlog:
+        if cfg.eventlog is not None:
             logger = cfg.eventlog()
             startup_handler.flushBufferTo(logger)