summaryrefslogtreecommitdiff
path: root/addons/document/document_directory.py
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-11-12 17:19:46 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-11-12 17:19:46 +0530
commit3389c99ee670a59571def5d1ac670d521ce7d6b5 (patch)
tree281ccbc5cd60636e2e0df43197d783f2a31a59a3 /addons/document/document_directory.py
parent0e5cbfe79af73bee4895ebe244e6cca94ac97969 (diff)
[Fix] caldav,document,document_ftp,document_webdav: fix buildbot warnings
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
Diffstat (limited to 'addons/document/document_directory.py')
-rw-r--r--addons/document/document_directory.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/document/document_directory.py b/addons/document/document_directory.py
index 82f53b6120b..9412527db22 100644
--- a/addons/document/document_directory.py
+++ b/addons/document/document_directory.py
@@ -23,7 +23,6 @@
from osv import osv, fields
from osv.orm import except_orm
-import os
import nodes
from tools.translate import _
@@ -217,7 +216,6 @@ class document_directory(osv.osv):
"""Check what permission user 'uid' has on directory 'id'
"""
assert len(ids) == 1
- id = ids[0]
res = 0
for pperms in [('read', 5), ('write', 2), ('unlink', 8)]: