[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:
parent
e5ecadeda7
commit
7cca938586
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue