summaryrefslogtreecommitdiff
path: root/db.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2009-12-22 18:26:34 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2009-12-22 18:26:34 +0100
commit1125ea5d48cbed0e5672ba5bab4d6d53d79abd88 (patch)
treeef61eef5d89e22092150b4d40a6e4fff5f43161a /db.py
parenta09986e5797b937d4ce90ba0dca423ac4e18eacc (diff)
downloadlogilab-common-1125ea5d48cbed0e5672ba5bab4d6d53d79abd88.tar.gz
Backed out changeset 88274f9d1e46, bad fix, pb was actually in cw
Diffstat (limited to 'db.py')
-rw-r--r--db.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/db.py b/db.py
index 2c40a94..c67cd21 100644
--- a/db.py
+++ b/db.py
@@ -357,12 +357,6 @@ class _PySqlite2Adapter(DBAPIAdapter):
return
sqlite._lc_initialized = 1
- # XXX not clear why this is necessary while buffer (aka self.Binary)
- # is pysqlite2 default binary type....
- def adapt_buffer(buffer):
- return str(buffer)
- sqlite.register_adapter(self.Binary, adapt_buffer)
-
# bytea type handling
from StringIO import StringIO
def adapt_bytea(data):