check_source: decline package of kind not (meta or source).
This commit is contained in:
parent
91aeaf1f55
commit
afd288b87d
@ -82,6 +82,9 @@ class CheckSource(ReviewBot.ReviewBot):
|
||||
if kind == 'meta':
|
||||
self.review_messages['accepted'] = 'Skipping all checks for meta packages'
|
||||
return True
|
||||
elif kind != 'source':
|
||||
self.review_messages['accepted'] = 'May not modify a non-source package of type {}'.format(kind)
|
||||
return False
|
||||
|
||||
inair_renamed = target_package != source_package
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user