[Zope3-checkins] CVS: Zope3/src/zope/app/rdb - gadflyda.py:1.1.2.2

Jim Fulton jim@zope.com
Tue, 24 Dec 2002 13:05:16 -0500


Update of /cvs-repository/Zope3/src/zope/app/rdb
In directory cvs.zope.org:/tmp/cvs-serv18921/src/zope/app/rdb

Modified Files:
      Tag: NameGeddon-branch
	gadflyda.py 
Log Message:
Got zope.app.rdb passing

=== Zope3/src/zope/app/rdb/gadflyda.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/rdb/gadflyda.py:1.1.2.1	Mon Dec 23 14:32:09 2002
+++ Zope3/src/zope/app/rdb/gadflyda.py	Tue Dec 24 13:04:45 2002
@@ -48,8 +48,10 @@
         conn_info = parseDSN(self.dsn)
         if conn_info['host'] != '' or conn_info['username'] != '' or \
            conn_info['port'] != '' or conn_info['password'] != '':
-            raise DatabaseAdapterError, "DSN for GadflyDA must be of the form " \
-                  "dbi://dbname or dbi://dbname;dir=directory."
+            raise DatabaseAdapterError(
+                "DSN for GadflyDA must be of the form "
+                "dbi://dbname or dbi://dbname;dir=directory."
+                )
 
         connection = conn_info['dbname']
         dir = os.path.join(self._getGadflyRoot(),