koji_hub: fix syntax error in if expression

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-10-09 14:55:06 +00:00 committed by Pierre-Yves Chibon
parent 35e04b9110
commit 7086ad2bb7

View file

@ -146,7 +146,7 @@ package_list =
# Rawhide and epel7: adding, unblocking and blocking is allowed.
tag f{{FedoraRawhideNumber}} epel7 && match action add unblock block :: allow
# In branched blocking is allowed only before final freeze.
tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not Frozen or FedoraBranchedBodhi != 'postbeta' }} :: allow
tag f{{FedoraBranchedNumber}} && match action add unblock {{ 'block' if not Frozen or FedoraBranchedBodhi != 'postbeta' else '' }} :: allow
# Stable releases: only adding and unblocking is allowed.
tag f{{FedoraCycleNumber}} f{{FedoraPreviousCycleNumber}} && match action add unblock :: allow
}