[Zodb-checkins] CVS: Zope/lib/python/zdaemon -
	zdoptions.py:1.22.16.4
    Andreas Jung 
    andreas at andreas-jung.com
       
    Fri Jun  4 09:16:09 EDT 2004
    
    
  
Update of /cvs-repository/Zope/lib/python/zdaemon
In directory cvs.zope.org:/tmp/cvs-serv15910
Modified Files:
      Tag: Zope-2_7-branch
	zdoptions.py 
Log Message:
Zope embedded with C/C++ might raise an IndexError as well
=== Zope/lib/python/zdaemon/zdoptions.py 1.22.16.3 => 1.22.16.4 ===
--- Zope/lib/python/zdaemon/zdoptions.py:1.22.16.3	Thu Jun  3 02:50:21 2004
+++ Zope/lib/python/zdaemon/zdoptions.py	Fri Jun  4 09:16:05 2004
@@ -209,7 +209,7 @@
         if progname is None:
             try:
                 progname = sys.argv[0]
-            except AttributeError:
+            except (AttributeError, IndexError):
                 progname = 'zope'
 
         if doc is None:
    
    
More information about the Zodb-checkins
mailing list