[FIX] publisher_warranty: avoid trying to safe_eval() an empty string

lp bug: https://launchpad.net/bugs/691892 fixed

bzr revid: odo@openerp.com-20101221151445-th3cfbjw104g6ie9
This commit is contained in:
Olivier Dony 2010-12-21 16:14:45 +01:00
parent e5ecadeda7
commit 7cca938586
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ def get_sys_logs(cr, uid):
finally:
uo.close()
result = safe_eval(submit_result)
result = safe_eval(submit_result) if submit_result else {}
return result