summaryrefslogtreecommitdiff
path: root/addons/document_webdav/document_webdav.py
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2010-12-20 15:02:20 +0100
committerThibault Francois <tfr@openerp.com>2010-12-20 15:02:20 +0100
commitdcaac474132946ffa59aa7157775ed5421d9aaa4 (patch)
tree5d9509377386066392ede9500b422c2c53cf367d /addons/document_webdav/document_webdav.py
parent18a5ade8fd72edcbca951240d4071f2a8fccaa48 (diff)
parentecc85577f9c053454376745d144bc5794f97e166 (diff)
[MERGE]
bzr revid: tfr@openerp.com-20101220140220-edt2ancbr5z0olep
Diffstat (limited to 'addons/document_webdav/document_webdav.py')
-rw-r--r--addons/document_webdav/document_webdav.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_webdav/document_webdav.py b/addons/document_webdav/document_webdav.py
index aa14bc239bb..f5fa7b591d8 100644
--- a/addons/document_webdav/document_webdav.py
+++ b/addons/document_webdav/document_webdav.py
@@ -45,7 +45,7 @@ class document_davdir(osv.osv):
else:
raise ValueError("dir node for %s type", dbro.type)
- def _prepare_context(self, cr, uid, nctx, context):
+ def _prepare_context(self, cr, uid, nctx, context=None):
nctx.node_file_class = nodes.node_file
# We can fill some more fields, but avoid any expensive function
# that might be not worth preparing.