do not process the rest request type than submit in adi

This commit is contained in:
Max Lin 2015-09-09 15:26:05 +08:00
parent 62a1946064
commit 3cf6c7c55f

View File

@ -76,6 +76,10 @@ class AdiCommand:
else:
source_project = 'none'
# do not process the rest request type than submit
if action.get('type') != 'submit':
continue
target_package = action.find('target').get('package')
source_package = action.find('source').get('package')