From d7926efc0905e53f6bd03da2fedc60f88322e806 Mon Sep 17 00:00:00 2001 From: hyokeun Date: Thu, 25 Jan 2018 09:41:24 +0900 Subject: [PATCH] Fix undefined error Change-Id: I18cdc176b40d64f63114bb9b7727797628ef9959 --- job_buildmonitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_buildmonitor.py b/job_buildmonitor.py index 94b0986..0411dc5 100644 --- a/job_buildmonitor.py +++ b/job_buildmonitor.py @@ -1430,7 +1430,7 @@ def update_build_fail_reason_warning(bm_snapshot_name, bm_buildfailreason): if existing_info == 0 or existing_info is None: info_str = bm_buildfailreason else: - info_str = "%s %s" % (info_str, bm_buildfailreason) + info_str = "%s %s" % (existing_info, bm_buildfailreason) query = "UPDATE build_snapshot SET status_info=%s WHERE snapshot_name=%s LIMIT 1" query_data = (info_str, bm_snapshot_name) buildmonitor_db.do_query(query, query_data) -- 2.7.4