From 60f2488febb54174ff0b8e2dfd51b5c1963efb41 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Tue, 12 Oct 2010 14:27:33 +0300 Subject: Document, caldav: inhibit features not found on trunk server. bzr revid: p_christ@hol.gr-20101012112733-sqcnvobi5q8ztj3l --- addons/document_webdav/nodes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/document_webdav/nodes.py') diff --git a/addons/document_webdav/nodes.py b/addons/document_webdav/nodes.py index 67dc9fd2a4f..8bea54ab7d3 100644 --- a/addons/document_webdav/nodes.py +++ b/addons/document_webdav/nodes.py @@ -22,7 +22,11 @@ from document import nodes from tools.safe_eval import safe_eval as eval -from tools.dict_tools import dict_filter +try: + from tools.dict_tools import dict_filter +except ImportError: + from document.dict_tools import dict_filter + import urllib -- cgit v1.2.3