[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - Aqueduct.py:1.51
Andreas Jung
andreas@zope.com
Fri, 10 Aug 2001 11:39:26 -0400
Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv21173
Modified Files:
Aqueduct.py
Log Message:
made error message more informative
=== Zope/lib/python/Shared/DC/ZRDB/Aqueduct.py 1.50 => 1.51 ===
__doc__='''Shared classes and functions
-$Id$'''
__version__='$Revision$'[11:-2]
+$Id$'''
import Globals, os
from Globals import Persistent
@@ -147,7 +147,9 @@
except: missing.append(name)
if missing:
- raise self.MissingArgumentError, missing
+ raise self.MissingArgumentError, \
+ "The following arguments were omitted " \
+ " from the ZSQL method call: %s" % str(missing)
return r