commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r7881 - trunk/gnue-common/src/datasources


From: reinhard
Subject: [gnue] r7881 - trunk/gnue-common/src/datasources
Date: Thu, 25 Aug 2005 11:38:05 -0500 (CDT)

Author: reinhard
Date: 2005-08-25 11:38:04 -0500 (Thu, 25 Aug 2005)
New Revision: 7881

Modified:
   trunk/gnue-common/src/datasources/GConnections.py
Log:
Fixed exception.


Modified: trunk/gnue-common/src/datasources/GConnections.py
===================================================================
--- trunk/gnue-common/src/datasources/GConnections.py   2005-08-25 13:23:21 UTC 
(rev 7880)
+++ trunk/gnue-common/src/datasources/GConnections.py   2005-08-25 16:38:04 UTC 
(rev 7881)
@@ -209,7 +209,7 @@
       except:
         return default
     except KeyError:
-      raise NotFoundError, connection_name, self._location
+      raise NotFoundError, (connection_name, self._location)
 
 
   # ---------------------------------------------------------------------------
@@ -263,7 +263,7 @@
     try:
       return copy.deepcopy (self.__definitions [connection_name])
     except KeyError:
-      raise NotFoundError, connection_name, self._location
+      raise NotFoundError, (connection_name, self._location)
 
 
   # ---------------------------------------------------------------------------





reply via email to

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