[Zope-Checkins] SVN: Zope/trunk/lib/python/zdaemon/zdoptions.py
Zope embedded in C/C++ might raise an IndexError as well
Andreas Jung
andreas at andreas-jung.com
Fri Jun 4 09:14:52 EDT 2004
Log message for revision 25248:
Zope embedded in C/C++ might raise an IndexError as well
-=-
Modified: Zope/trunk/lib/python/zdaemon/zdoptions.py
===================================================================
--- Zope/trunk/lib/python/zdaemon/zdoptions.py 2004-06-04 08:49:49 UTC (rev 25247)
+++ Zope/trunk/lib/python/zdaemon/zdoptions.py 2004-06-04 13:14:51 UTC (rev 25248)
@@ -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 Zope-Checkins
mailing list