commit-gnue
[Top][All Lists]
Advanced

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

r5737 - trunk/gnue-common/src/datasources/drivers/DBSIG2


From: reinhard
Subject: r5737 - trunk/gnue-common/src/datasources/drivers/DBSIG2
Date: Sat, 17 Apr 2004 18:19:21 -0500 (CDT)

Author: reinhard
Date: 2004-04-17 18:19:20 -0500 (Sat, 17 Apr 2004)
New Revision: 5737

Modified:
   trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
Log:
Fixed exceptions.


Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py      
2004-04-17 23:18:49 UTC (rev 5736)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/DataObject.py      
2004-04-17 23:19:20 UTC (rev 5737)
@@ -264,11 +264,11 @@
         if len(result) < self.conditionElements[otype][0]:
           tmsg = _('Condition element "%s" expects at least %s arguments; 
found %s') % \
                 (otype, self.conditionElements[otype][0], len(result))
-          raise Exceptions.ConditionError, tmsg
+          raise GConditions.ConditionError, tmsg
         if len(result) > self.conditionElements[otype][1]:
           tmsg = _('Condition element "%s" expects at most %s arguments; found 
%s') % \
                 (otype, self.conditionElements[otype][0], len(result))
-          raise Exceptions.ConditionError, tmsg
+          raise GConditions.ConditionError, tmsg
 
         if self.conditionElements[otype][3] == None:
           return self.conditionElements[otype][2] % tuple(result)





reply via email to

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