[FIX] document_ftp/document_webdav: correctly fix what was incorrectly fixed in
authorVo Minh Thu <vmt@openerp.com>
Fri, 9 Sep 2011 11:39:16 +0000 (13:39 +0200)
committerVo Minh Thu <vmt@openerp.com>
Fri, 9 Sep 2011 11:39:16 +0000 (13:39 +0200)
commit28f900202becbdc6ab0d944557353fcc075d5b24
tree864f408d2c140fe7180a05188634b66915e9529e
parentf59aaf7ca06a69d7429c4167459be2e99247be8b
[FIX] document_ftp/document_webdav: correctly fix what was incorrectly fixed in
revno 4821, revision-id tfr@openerp.com-20110628141309-oag99snygj3vuqwn :
pooler.get_db_only was removed from the server but not from the addons.
It seems the commit 4821 tried to solved the situation by using get_db
instead, which is wrong and it will load the db instead of just trying
to get a cursor. This commit solves correctly the removel of get_db_only:
by using sql_db.db_connect (for which get_db_only was an alias).

bzr revid: vmt@openerp.com-20110909113916-td9o8yct0u5bitb6
addons/document_ftp/ftpserver/abstracted_fs.py
addons/document_webdav/dav_fs.py