Merge "Missing labels is a subset of allow_needs"

This commit is contained in:
Zuul 2019-10-23 22:14:55 +00:00 committed by Gerrit Code Review
commit d28993a16d
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ class GerritConnection(BaseConnection):
# Good question. It's probably ref-updated, which, ah,
# means it's merged.
return True
if change.missing_labels < set(allow_needs):
if change.missing_labels <= set(allow_needs):
return True
return False