patchinfos have no release project

This commit is contained in:
Ludwig Nussel 2015-05-26 10:20:57 +02:00
parent 71fc7ce81a
commit 9836eba9e4

View File

@ -177,6 +177,9 @@ class ABIChecker(ReviewBot.ReviewBot):
self.commentapi = CommentAPI(self.apiurl) self.commentapi = CommentAPI(self.apiurl)
def check_source_submission(self, src_project, src_package, src_rev, dst_project, dst_package): def check_source_submission(self, src_project, src_package, src_rev, dst_project, dst_package):
# happens for maintenance incidents
if dst_project == None and src_package == 'patchinfo':
return None
# default is to accept the review, just leave a note if # default is to accept the review, just leave a note if
# there were problems. # there were problems.
ret = True ret = True