From 5f3e53316361facb2b28d09935d2222267fa2f1f Mon Sep 17 00:00:00 2001 From: ZhuoX Li Date: Thu, 4 Sep 2014 15:09:22 +0800 Subject: [PATCH] Modify the way of using 'request_accepted'. Don't return anything, when calling the function of reqeust_accepted. Change-Id: I4fd7492bed1bda634bf299c2a4b4165e00ef1cb8 --- job_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_request.py b/job_request.py index 4744b94..cb84d6b 100755 --- a/job_request.py +++ b/job_request.py @@ -372,7 +372,7 @@ def main(): request_created(data) elif event_type == 'OBS_SRCSRV_REQUEST_ACCEPTED': - return request_accepted(data, gerrit, gitprj) + request_accepted(data, gerrit, gitprj) elif event_type == 'OBS_SRCSRV_REQUEST_REVOKED': request_revoked(data) -- 2.7.4