commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5497 - trunk/gnue-common/src/datasources


From: reinhard
Subject: r5497 - trunk/gnue-common/src/datasources
Date: Wed, 24 Mar 2004 02:12:31 -0600 (CST)

Author: reinhard
Date: 2004-03-24 02:12:30 -0600 (Wed, 24 Mar 2004)
New Revision: 5497

Modified:
   trunk/gnue-common/src/datasources/GConditions.py
Log:
Fixed error messages.


Modified: trunk/gnue-common/src/datasources/GConditions.py
===================================================================
--- trunk/gnue-common/src/datasources/GConditions.py    2004-03-24 06:35:08 UTC 
(rev 5496)
+++ trunk/gnue-common/src/datasources/GConditions.py    2004-03-24 08:12:30 UTC 
(rev 5497)
@@ -455,12 +455,12 @@
       if len(conditionTree._children) < conditionElements[otype][0]:
         tmsg = _('Condition element "%s" expects at least %s arguments; found 
%s') % \
                  (otype, conditionElements[otype][0], 
len(conditionTree._children))
-        raise GConditions.ConditionError, tmsg
+        raise ConditionError, tmsg
 
       if len(conditionTree._children) > conditionElements[otype][1]:
         tmsg = _('Condition element "%s" expects at most %s arguments; found 
%s') % \
                 (otype, conditionElements[otype][1], 
len(conditionTree._children))
-        raise GConditions.ConditionError, tmsg
+        raise ConditionError, tmsg
 
 
       # return combination





reply via email to

[Prev in Thread] Current Thread [Next in Thread]