[IMP] unable to parse PDF reports
bzr revid: fp@tinyerp.com-20110104081508-rg2pq652dsggh3m1
This commit is contained in:
parent
afa53f95a2
commit
69b2f58dac
|
@ -79,7 +79,7 @@ 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'):
|
||||
|
|
Loading…
Reference in New Issue