Skip to content

Commit

Permalink
Ensure that we have a package name before chasing down review tickets.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Sep 24, 2015
1 parent dfc2923 commit 606d666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotness/consumers.py
Expand Up @@ -290,7 +290,7 @@ def handle_buildsys_scratch(self, msg):
# not already in Fedora (it would be a waste of time to query bugzilla
# if the review is already approved and scm has been processed).
package_name = '-'.join(msg['msg']['srpm'].split('-')[:-2])
if not self.in_pkgdb(package_name):
if package_name and not self.in_pkgdb(package_name):
for bug in self.bugzilla.review_request_bugs(package_name):
bugs.append((bug, text2))

Expand Down

0 comments on commit 606d666

Please sign in to comment.