[Zodb-checkins] SVN: zdaemon/trunk/zdoptions.py Merge changes made from a wrong project:

Tim Peters tim.one at comcast.net
Mon Jan 24 10:50:57 EST 2005


Log message for revision 28924:
  Merge changes made from a wrong project:
  
  r25248 | andreasjung | 2004-06-04 09:14:51 -0400 (Fri, 04 Jun 2004) | 2 lines
  Changed paths:
     M /Zope/trunk/lib/python/zdaemon/zdoptions.py
  
  Zope embedded in C/C++ might raise an IndexError as well
  

Changed:
  U   zdaemon/trunk/zdoptions.py

-=-
Modified: zdaemon/trunk/zdoptions.py
===================================================================
--- zdaemon/trunk/zdoptions.py	2005-01-24 15:49:12 UTC (rev 28923)
+++ zdaemon/trunk/zdoptions.py	2005-01-24 15:50:56 UTC (rev 28924)
@@ -210,7 +210,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