Modify the way of using 'request_accepted'.
authorZhuoX Li <zhuox.li@intel.com>
Thu, 4 Sep 2014 07:09:22 +0000 (15:09 +0800)
committerLin Yang <lin.a.yang@intel.com>
Thu, 4 Sep 2014 07:33:19 +0000 (15:33 +0800)
Don't return anything, when calling the function of reqeust_accepted.

Change-Id: I4fd7492bed1bda634bf299c2a4b4165e00ef1cb8

job_request.py

index 4744b94..cb84d6b 100755 (executable)
@@ -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)