Add dependency of 'runroot' config option on 'koji_profile'.

This commit is contained in:
Daniel Mach 2015-07-10 07:31:57 -04:00
parent 72302bd98e
commit 63c631a99b

View File

@ -132,7 +132,7 @@ class InitPhase(PhaseBase):
"name": "runroot",
"expected_types": [bool],
"requires": (
(lambda x: bool(x), ["runroot_tag", "runroot_channel"]),
(lambda x: bool(x), ["koji_profile", "runroot_tag", "runroot_channel"]),
),
"conflicts": (
(lambda x: not bool(x), ["runroot_tag", "runroot_channel"]),