Merge lp:~camptocamp/openobject-addons/bug_6349 into lp:openobject-addons
Proposed by
Nicolas Bessi - Camptocamp
Status: | Work in progress |
---|---|
Proposed branch: | lp:~camptocamp/openobject-addons/bug_6349 |
Merge into: | lp:openobject-addons |
Diff against target: |
24 lines (+5/-2) 1 file modified
report_webkit/webkit_report.py (+5/-2) |
To merge this branch: | bzr merge lp:~camptocamp/openobject-addons/bug_6349 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphael Collet (OpenERP) (community) | Needs Fixing | ||
Alexandre Fayolle - camptocamp (community) | abstain | Needs Fixing | |
Olivier Dony (Odoo) | Pending | ||
Review via email: mp+88689@code.launchpad.net |
Description of the change
Fix of bug 904363
To post a comment you must log in.
Unmerged revisions
- 6349. By Nicolas Bessi - Camptocamp
-
[FIX] bug no 904363
The orginal code would check for the existance of the file, which the new version does not do : tools.file_open raises an IOError exception if the path is not found, I think the code should check for that exception.
The "if template_file:" test will always be true, as there is no way that tools.file_open can return something evaluating to False (as said above, it will fail with an exception).