diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-10-12 14:27:33 +0300 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-10-12 14:27:33 +0300 |
| commit | 60f2488febb54174ff0b8e2dfd51b5c1963efb41 (patch) | |
| tree | bdb68bf2aa68972b72a812f69edee4e8459f02de /addons/document_webdav/nodes.py | |
| parent | 305b48abe3195f3a7d93852637c79228885d01a2 (diff) | |
Document, caldav: inhibit features not found on trunk server.
bzr revid: p_christ@hol.gr-20101012112733-sqcnvobi5q8ztj3l
Diffstat (limited to 'addons/document_webdav/nodes.py')
| -rw-r--r-- | addons/document_webdav/nodes.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
