diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2011-01-04 09:15:08 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2011-01-04 09:15:08 +0100 |
| commit | 69b2f58dac5c4021c83f7afffd5cdef721f5e5ab (patch) | |
| tree | 2a1d9d5e3abbe48bc4a0195596bfcba56af027d7 /bin/tools | |
| parent | afa53f95a26d43b6eb748cd7ac0a027bdbbfd1f0 (diff) | |
[IMP] unable to parse PDF reports
bzr revid: fp@tinyerp.com-20110104081508-rg2pq652dsggh3m1
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/test_reports.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/tools/test_reports.py b/bin/tools/test_reports.py index 2f27ed9d3df..6e4b08ece2c 100644 --- a/bin/tools/test_reports.py +++ b/bin/tools/test_reports.py @@ -79,8 +79,8 @@ def try_report(cr, uid, rname, ids, data=None, context=None, our_module=None): res_text = tools.ustr(fp.read()) os.unlink(rfname) except Exception: - log.warning("Cannot extract report's text:", exc_info=True) - + log.debug("Unable to parse PDF report: install pdftotext to perform automated tests.") + if res_text is not False: for line in res_text.split('\n'): if ('[[' in line) or ('[ [' in line): @@ -306,4 +306,4 @@ def try_report_action(cr, uid, action_id, active_model=None, active_ids=None, return True -#eof
\ No newline at end of file +#eof |
