Changeset: 694199a40b61 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=694199a40b61
Modified Files:
        clients/python2/monetdb/mapi.py
        clients/python2/monetdb/sql/cursors.py
Branch: default
Log Message:

remove the nullhandler, python2.6 doesn't support it


diffs (22 lines):

diff --git a/clients/python2/monetdb/mapi.py b/clients/python2/monetdb/mapi.py
--- a/clients/python2/monetdb/mapi.py
+++ b/clients/python2/monetdb/mapi.py
@@ -29,7 +29,6 @@ import time
 from monetdb.exceptions import OperationalError, DatabaseError, 
ProgrammingError, NotSupportedError
 
 logger = logging.getLogger("monetdb")
-logger.addHandler(logging.NullHandler())
 
 MAX_PACKAGE_LENGTH = (1024*8)-2
 
diff --git a/clients/python2/monetdb/sql/cursors.py 
b/clients/python2/monetdb/sql/cursors.py
--- a/clients/python2/monetdb/sql/cursors.py
+++ b/clients/python2/monetdb/sql/cursors.py
@@ -22,7 +22,6 @@ from monetdb.exceptions import *
 from monetdb import mapi
 
 logger = logging.getLogger("monetdb")
-logger.addHandler(logging.NullHandler())
 
 class Cursor(object):
     """This object represents a database cursor, which is used to manage
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to