From: gmcm Date: Thu, 27 Jun 2002 12:06:20 +0000 (+0000) Subject: Improve an error message. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=93bc945bb815d998b62081a9bd7a2ea5aecd4d56;p=roundup.git Improve an error message. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@821 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index 53b785b..874fcbe 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.69 2002-06-17 23:15:29 richard Exp $ +# $Id: hyperdb.py,v 1.70 2002-06-27 12:06:20 gmcm Exp $ __doc__ = """ Hyperdatabase implementation, especially field types. @@ -428,7 +428,7 @@ class Class: l = [] for entry in value: if type(entry) != type(''): - raise ValueError, 'link value must be String' + raise ValueError, '"%s" link value (%s) must be String' % (key, value) # if it isn't a number, it's a key if not num_re.match(entry): try: @@ -1169,6 +1169,9 @@ def Choice(name, db, *options): # # $Log: not supported by cvs2svn $ +# Revision 1.69 2002/06/17 23:15:29 richard +# Can debug to stdout now +# # Revision 1.68 2002/06/11 06:52:03 richard # . #564271 ] find() and new properties #