Author: tack
Date: Sun Oct 14 16:48:43 2007
New Revision: 2873

Log:
A bit more detailed error.


Modified:
   trunk/base/src/db.py

Modified: trunk/base/src/db.py
==============================================================================
--- trunk/base/src/db.py        (original)
+++ trunk/base/src/db.py        Sun Oct 14 16:48:43 2007
@@ -682,7 +682,7 @@
             if attrs[key] == None:
                 del attrs[key]
             if key not in type_attrs:
-                raise ValueError, "Reference to undefined attribute '%s'" % key
+                raise ValueError, "Reference to undefined attribute '%s' for 
type '%s'" % (key, type_name)
 
         attrs_copy = attrs.copy()
         for name, (attr_type, flags, attr_ivtidx, attr_split) in 
type_attrs.items():

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to