[FIX] Fixed incorrect psycopg2 usage for passing query parameters. Improves on fix by rev 2174 fp@tinyerp.com-20100407070419-4cly41c0bvrkd00v  (with bad commit message BTW)
[FIX] Fixed incorrect psycopg2 usage for passing query parameters.
Improves on fix by rev 2174 fp@tinyerp.com-20100407070419-4cly41c0bvrkd00v 
(with bad commit message BTW)

MarkusTeufelberger/openobject-server,MarkusTeufelberger/openobject-server,gisce/openobject-server,splbio/openobject-server,xrg/openerp-server,ovnicraft/openerp-server,vnc-biz/openerp-server,vnc-biz/openerp-server,gisce/openobject-server,ovnicraft/openerp-server,xrg/openerp-server,splbio/openobject-server,splbio/openobject-server,gisce/openobject-server,MarkusTeufelberger/openobject-server