[FIX] document_webdav: missing import osv
authorHarry (OpenERP) <hmo@tinyerp.com>
Tue, 15 Jun 2010 10:13:48 +0000 (15:43 +0530)
committerHarry (OpenERP) <hmo@tinyerp.com>
Tue, 15 Jun 2010 10:13:48 +0000 (15:43 +0530)
bzr revid: hmo@tinyerp.com-20100615101348-8778waohibz0cb30

addons/document_webdav/webdav.py

index b9b1a1f..eec6c69 100644 (file)
@@ -23,13 +23,15 @@ import xml.dom.minidom
 domimpl = xml.dom.minidom.getDOMImplementation()
 import urlparse
 import urllib
+from osv import osv
+import tools
 try:
     from DAV import utils
     from DAV.propfind import PROPFIND
 except ImportError:
     raise osv.except_osv('PyWebDAV Import Error!','Please install pywebdav \
-                     from http://pywebdav.googlecode.com/files/PyWebDAV-0.9.3.tar.gz/')
-import tools
+from http://pywebdav.googlecode.com')
+
 
 
 super_mk_prop_response = PROPFIND.mk_prop_response