Fix possible ignoring of owner or CC warnings.
If the only warnings were due to bad owners or CC's, the script failed to force acceptance of them before proceeding.
This commit is contained in:
parent
bb8e2a8eda
commit
fff5874451
1 changed files with 4 additions and 1 deletions
|
@ -445,7 +445,10 @@ def process_new_request(bug, comment, allcomments, firstfound, pkgdb, fas, branc
|
|||
items = parse_prefixed_lines(comment['text'])
|
||||
request = clean_request(items)
|
||||
|
||||
warnings.extend(check_owners(fas, request['owner'], request['comaintainers'], request['cc_list']))
|
||||
w = check_owners(fas, request['owner'], request['comaintainers'], request['cc_list'])
|
||||
if len(w):
|
||||
warnings.extend(w)
|
||||
warned = True
|
||||
|
||||
if not 'Owners' in items:
|
||||
warnings.append("WARNING: No owners provided.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue