diff --git a/osc-check_repo.py b/osc-check_repo.py index 19adb79b..ad256543 100644 --- a/osc-check_repo.py +++ b/osc-check_repo.py @@ -426,7 +426,8 @@ def _check_repo_group(self, id_, requests, skip_cycle=None, debug=False): if not hasattr(rq, 'goodrepo'): msg = 'Can not find a good repo for %s' % rq.str_compact() print 'NOT ACCEPTED - ', msg - print 'Perhaps this request is not against i586/x86_64 build or i586 build only. For human to check!' + print 'Perhaps this request is not against {}. For human to check!'.format( + ', '.join(self.repochecker.target_archs())) continue msg = 'Builds for repo %s' % rq.goodrepo print 'ACCEPTED', msg diff --git a/osclib/checkrepo.py b/osclib/checkrepo.py index 9cc08943..0d7b9e5d 100644 --- a/osclib/checkrepo.py +++ b/osclib/checkrepo.py @@ -760,7 +760,7 @@ class CheckRepo(object): return False if not repos_to_check: - msg = 'Missing i586 and x86_64 in the repo list' + msg = 'Missing {} in the repo list'.format(', '.join(self.target_archs())) print ' - %s' % msg self.change_review_state(request.request_id, 'new', message=msg) # Next line not needed, but for documentation.