From 9691dd0b2cd9fbec3a30b4a2c45f72e41ff815b1 Mon Sep 17 00:00:00 2001 From: SungHun Hwang Date: Thu, 20 Apr 2017 13:57:24 +0900 Subject: [PATCH] [BuildMonitor] remove the 'REVOKED' check code remove the 'REVOKED' check code to avoid the duplicated excution because 'Use STATECHANGE event for processing request' is applied Change-Id: I9944ff099e53873c4f7f899bb45af14c3d66f2e2 Signed-off-by: SungHun Hwang --- job_buildmonitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job_buildmonitor.py b/job_buildmonitor.py index 889ff64..997c76a 100644 --- a/job_buildmonitor.py +++ b/job_buildmonitor.py @@ -948,8 +948,8 @@ def sr_accept_reject_for_sr_status_detail(event_fields, bm_start_datetime, sr_accept_for_sr_stage(bm_src_prj_name, bm_target_prj_name, bm_start_datetime, bm_end_datetime, bm_git_tag) - elif obs_req_status == 'REVOKED' or obs_req_status == 'DECLINED': - print '[%s][REVOKED or DECLINED] obs_req_status(%s)\n' \ + elif obs_req_status == 'DECLINED': + print '[%s][DECLINED] obs_req_status(%s)\n' \ % (__file__, obs_req_status) # get info_project_id -> get pre_build_project_id -- 2.7.4