Changeset: e32ef2ee700b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e32ef2ee700b
Modified Files:
clients/python2/monetdb/mapi.py
clients/python2/monetdb/sql/cursors.py
Branch: Feb2013
Log Message:
remove the nullhandler, python2.6 doesn't support it
(transplanted from 694199a40b617ce869e563f9f333be05b07fd417)
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
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list