Skip to content

Commit

Permalink
Merge pull request #1240 from lnussel/master
Browse files Browse the repository at this point in the history
Don't die on delete requests
  • Loading branch information
jberry-suse committed Nov 9, 2017
2 parents 3e191ca + 312c180 commit bcdea68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_maintenance_incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _check_maintainer_review_needed(self, req, a):
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))
Expand Down

0 comments on commit bcdea68

Please sign in to comment.