From 07de3355e92f90fdcfd67721f4adbf6a8d6503d2 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 11 May 2023 16:39:13 +0100 Subject: vyos.utils: T5195: fix option list output in vyos.utils.dict.check_mutually_exclusive_options on missing options error --- python/vyos/utils/dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vyos/utils/dict.py b/python/vyos/utils/dict.py index 4afc9f54e..7c93deef6 100644 --- a/python/vyos/utils/dict.py +++ b/python/vyos/utils/dict.py @@ -253,4 +253,4 @@ def check_mutually_exclusive_options(d, keys, required=False): raise ValueError(f"Options {orig_keys} are mutually-exclusive but more than one of them is present: {orig_present_keys}") if required and (len(present_keys) < 1): - raise ValueError(f"At least one of the following options is required: {orig_present_keys}") + raise ValueError(f"At least one of the following options is required: {orig_keys}") -- cgit v1.2.3