summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-08-24 11:21:20 +0200
committerAaron Bohy <aab@odoo.com>2015-08-24 12:00:31 +0200
commitf3f56f6dc99ec63fa5bfe5c7bfc6f729e64c5bd1 (patch)
treea782e5f360e4e3ed8255016372e2b404661df1bb /addons/web/controllers/main.py
parent0c0f87bc73c56cb52943db33fd8f99949cee06af (diff)
[FIX] web: typo introduced by 6baf611df1064a3ae5f6368d3a35b3c3d7779543
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 41698b725ef..bdb5b636f1c 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -467,7 +467,7 @@ def binary_content(xmlid=None, model='ir.attachment', id=None, field='datas', un
# check read access
try:
last_update = obj['__last_update']
- except AccesError, e:
+ except AccessError:
return (403, [], None)
status = 200