diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2011-09-09 13:49:41 +0200 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2011-09-09 13:49:41 +0200 |
| commit | ddef5bfbe21bc4cb94608a614b299ed79908e523 (patch) | |
| tree | 351fce9d0e4f6453c7d88aaa5055dcd0de021069 /addons/document_webdav/dav_fs.py | |
| parent | 1a40e512944c8562bc3e2ecb4d742e990b6e8720 (diff) | |
| parent | 28f900202becbdc6ab0d944557353fcc075d5b24 (diff) | |
[MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110909114941-wsf62um84k6fnak7
Diffstat (limited to 'addons/document_webdav/dav_fs.py')
| -rw-r--r-- | addons/document_webdav/dav_fs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/document_webdav/dav_fs.py b/addons/document_webdav/dav_fs.py index 3447da9befd..c167d90ba42 100644 --- a/addons/document_webdav/dav_fs.py +++ b/addons/document_webdav/dav_fs.py @@ -19,6 +19,7 @@ # ############################################################################## import pooler +import sql_db import os import time @@ -361,7 +362,7 @@ class openerp_dav_handler(dav_interface): for db_name in result: cr = None try: - db = pooler.get_db(db_name) + db = sql_db.db_connect(db_name) cr = db.cursor() cr.execute("SELECT id FROM ir_module_module WHERE name = 'document' AND state='installed' ") res=cr.fetchone() |
