refactor push_result_to_db print thing 11/19311/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Mon, 22 Aug 2016 10:23:25 +0000 (18:23 +0800)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 23 Aug 2016 07:50:23 +0000 (07:50 +0000)
commit7e66780a374cd1f10a54a9d47c61b5b663ba058f
tree4cbdf832ec034d17aee4116834a006c0b7e91c1e
parenta9f36b9999ebd62da1e9bfbfb40874c86de3f440
refactor push_result_to_db print thing

when Exceptions happen, the print code is too difficult
to understand and maintain, modify to make it clear

jira: FUNCTEST-425

Change-Id: Ie12af989e711df3791167955642f2edf1164b146
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
(cherry picked from commit 2588e2af6c2b609ab08957268f8163954cd8eae1)
utils/functest_utils.py