Merge pull request #1240 from lnussel/master
Don't die on delete requests
This commit is contained in:
commit
bcdea6812d
@ -96,7 +96,7 @@ class MaintenanceChecker(ReviewBot.ReviewBot):
|
||||
pkgname = a.tgt_package
|
||||
project = a.tgt_project
|
||||
|
||||
if project.startswith('openSUSE:Leap:'):
|
||||
if project.startswith('openSUSE:Leap:') and hasattr(a, 'src_project'):
|
||||
mapping = MaintenanceChecker._get_lookup_yml(self.apiurl, project)
|
||||
if mapping is None:
|
||||
self.logger.error("error loading mapping for {}".format(project))
|
||||
|
Loading…
x
Reference in New Issue
Block a user