[Zope3-checkins] CVS: Zope3/src/zope/app/rdb - __init__.py:1.5
Marius Gedminas
mgedmin@codeworks.lt
Mon, 24 Mar 2003 11:33:15 -0500
Update of /cvs-repository/Zope3/src/zope/app/rdb
In directory cvs.zope.org:/tmp/cvs-serv854/src/zope/app/rdb
Modified Files:
__init__.py
Log Message:
Added a couple of XXX comments
=== Zope3/src/zope/app/rdb/__init__.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/rdb/__init__.py:1.4 Tue Dec 31 13:36:13 2002
+++ Zope3/src/zope/app/rdb/__init__.py Mon Mar 24 11:33:15 2003
@@ -169,6 +169,7 @@
dbname database name
parameters a mapping of additional parameters to their values
"""
+ # XXX these should not be assertions
assert isinstance(dsn, StringTypes), 'The dsn is not a string.'
assert dsn.startswith('dbi://'), 'Invalid DSN; must start with "dbi://"'