diff options
| author | sbh (Open ERP) <sbh@tinyerp.com> | 2010-11-12 17:19:46 +0530 |
|---|---|---|
| committer | sbh (Open ERP) <sbh@tinyerp.com> | 2010-11-12 17:19:46 +0530 |
| commit | 3389c99ee670a59571def5d1ac670d521ce7d6b5 (patch) | |
| tree | 281ccbc5cd60636e2e0df43197d783f2a31a59a3 /addons/document_webdav | |
| parent | 0e5cbfe79af73bee4895ebe244e6cca94ac97969 (diff) | |
[Fix] caldav,document,document_ftp,document_webdav: fix buildbot warnings
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
Diffstat (limited to 'addons/document_webdav')
| -rw-r--r-- | addons/document_webdav/test_davclient.py | 1 | ||||
| -rw-r--r-- | addons/document_webdav/webdav_server.py | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/addons/document_webdav/test_davclient.py b/addons/document_webdav/test_davclient.py index e5c3659d870..ac40d1a3d30 100644 --- a/addons/document_webdav/test_davclient.py +++ b/addons/document_webdav/test_davclient.py @@ -32,7 +32,6 @@ # code taken from the 'http-client.py' script: # http://git.hellug.gr/?p=xrg/openerp;a=history;f=tests/http-client.py;hb=refs/heads/xrg-60 -import re import gzip import logging import xml.dom.minidom diff --git a/addons/document_webdav/webdav_server.py b/addons/document_webdav/webdav_server.py index 4e10c84b8f5..0e5973c95b3 100644 --- a/addons/document_webdav/webdav_server.py +++ b/addons/document_webdav/webdav_server.py @@ -28,7 +28,6 @@ import netsvc -import tools from dav_fs import openerp_dav_handler from tools.config import config from DAV.WebDAVServer import DAVRequestHandler @@ -37,7 +36,7 @@ from BaseHTTPServer import BaseHTTPRequestHandler import urlparse import urllib import re -from string import atoi,split +from string import atoi from DAV.errors import * # from DAV.constants import DAV_VERSION_1, DAV_VERSION_2 @@ -99,7 +98,6 @@ class DAVHandler(HttpOptions, FixSendError, DAVRequestHandler): """ Our uri scheme removes the /webdav/ component from there, so we need to mangle the header, too. """ - dest = self.headers['Destination'] up = urlparse.urlparse(urllib.unquote(self.headers['Destination'])) if up.path.startswith(self.davpath): self.headers['Destination'] = up.path[len(self.davpath):] |
