VMM/handler: Dropped psycopg2 typecaster registration. v0.7.x
authorPascal Volk <user@localhost.localdomain.org>
Thu, 22 Nov 2012 12:49:36 +0000
branchv0.7.x
changeset 649 08837f3fbced
parent 648 9cf2cf762e26
child 650 429ba58bc302
VMM/handler: Dropped psycopg2 typecaster registration.
VirtualMailManager/handler.py
--- a/VirtualMailManager/handler.py	Wed Nov 21 22:37:22 2012 +0000
+++ b/VirtualMailManager/handler.py	Thu Nov 22 12:49:36 2012 +0000
@@ -200,7 +200,6 @@
                         user=self._cfg.pget('database.user'),
                         password=self._cfg.pget('database.pass'))
                 self._dbh.set_client_encoding('utf8')
-                _db_mod.extensions.register_type(_db_mod.extensions.UNICODE)
                 dbc = self._dbh.cursor()
                 dbc.execute("SET NAMES 'UTF8'")
                 dbc.close()