Robusticize fedora-review flag check.
This commit is contained in:
parent
772774e5f9
commit
fe057c77ae
1 changed files with 6 additions and 2 deletions
|
@ -485,6 +485,10 @@ def process_new_request(bug, comment, allcomments, firstfound, pkgdb, fas, branc
|
|||
warned = True
|
||||
|
||||
frflag = bug.get_flags('fedora-review')
|
||||
if not frflag[0]['status']:
|
||||
warnings.append("WARNING: fedora-review flag not set")
|
||||
warned = True
|
||||
else:
|
||||
if frflag[0]['status'] != '+':
|
||||
warnings.append("WARNING: fedora-review flag not set to '+'")
|
||||
warned = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue