From d6fc272a9e3b010387817ed47d5a7ce1945c38d9 Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Wed, 26 Jun 2013 15:27:27 +0800 Subject: [PATCH] modify to fit obs event keyword change Change-Id: I0ea579bb83271c5f5ce99619ea0c5223ca6b4625 Signed-off-by: Lin Yang --- job_buildcheck_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_buildcheck_post.py b/job_buildcheck_post.py index 1f8c960..f07e105 100755 --- a/job_buildcheck_post.py +++ b/job_buildcheck_post.py @@ -46,7 +46,7 @@ def main(): % event_dict['project'] return end(tmpdir) - if event_dict['type'] == 'OBS_REPO_PUBLISH_STATE' and \ + if event_dict['event_type'] == 'OBS_REPO_PUBLISH_STATE' and \ event_dict['state'] != 'published': print 'repo is publishing, exit now' return end(tmpdir) -- 2.7.4