projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd21abd
)
[FIX] website: correct bad code indentation introduced during previous commit
author
Christophe Simonis
<chs@odoo.com>
Tue, 27 May 2014 16:46:18 +0000
(18:46 +0200)
committer
Christophe Simonis
<chs@odoo.com>
Tue, 27 May 2014 16:46:18 +0000
(18:46 +0200)
addons/website/models/ir_http.py
patch
|
blob
|
history
diff --git
a/addons/website/models/ir_http.py
b/addons/website/models/ir_http.py
index
d348d17
..
a8f63a1
100644
(file)
--- a/
addons/website/models/ir_http.py
+++ b/
addons/website/models/ir_http.py
@@
-130,9
+130,9
@@
class ir_http(orm.AbstractModel):
return super(ir_http, self)._handle_exception(exception)
except Exception:
- attach = self._serve_attachment()
- if attach:
- return attach
+ attach = self._serve_attachment()
+ if attach:
+ return attach
if getattr(request, 'website_enabled', False) and request.website:
values = dict(