From 732ca8b5cf9b0108d13de83a5d9267d77f62f275 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 14 Oct 2010 14:03:23 +0300 Subject: [PATCH] Doc webdav: fix typo in case of exception. If user rights are not setup for the user that connects to WebDAV, this exception will occur and the typo would not help debug the problem. (still, the user won't see the items at either case) bzr revid: p_christ@hol.gr-20101014110323-zxj5oha0u96e2l1t --- addons/document_webdav/dav_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/document_webdav/dav_fs.py b/addons/document_webdav/dav_fs.py index 5b5b1341679..f6156475231 100644 --- a/addons/document_webdav/dav_fs.py +++ b/addons/document_webdav/dav_fs.py @@ -339,7 +339,7 @@ class openerp_dav_handler(dav_interface): result.append( self.urijoin(dbname,d.path) ) except DAV_Error: raise - except Exception: + except Exception, e: self.parent.log_error("cannot get_childs: "+ str(e)) raise finally: