Update of /cvsroot/monetdb/clients/src/python/Cimpl
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24072/src/python/Cimpl
Modified Files:
CMapi.py
Log Message:
propagated changes of Wednesday Oct 24 2007 - Thursday Oct 25 2007
from the Clients_1-20 branch to the development trunk
Index: CMapi.py
===================================================================
RCS file: /cvsroot/monetdb/clients/src/python/Cimpl/CMapi.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CMapi.py 22 Oct 2007 12:22:44 -0000 1.6
+++ CMapi.py 25 Oct 2007 19:29:02 -0000 1.7
@@ -242,16 +242,12 @@
class Embedded(Mapi):
def __init__(self, dbfarm = None, dbname = "demo", lang = "sql", version =
5):
- try:
- if version == 5:
- import monetdb5 as monetdb
- else:
- import monetdb
- if lang == "sql":
- self._Mapi__mid = monetdb.monetdb_sql(dbfarm, dbname)
- except:
- e, value
- print(e)
+ if version == 5:
+ import monetdb5 as monetdb
+ else:
+ import monetdb
+ if lang == "sql":
+ self._Mapi__mid = monetdb.monetdb_sql(dbfarm, dbname)
if not self._Mapi__mid:
raise IOError("Creating connection structure failed")
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins