diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-05-11 16:39:13 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-05-11 16:39:13 +0100 |
commit | 07de3355e92f90fdcfd67721f4adbf6a8d6503d2 (patch) | |
tree | b3c65980242af5c133d71bc1f28b15e945702174 /python/vyos/utils/dict.py | |
parent | c3f957b9bfc7233fe08d4dd65b80abf92097c81b (diff) | |
download | vyos-1x-07de3355e92f90fdcfd67721f4adbf6a8d6503d2.tar.gz vyos-1x-07de3355e92f90fdcfd67721f4adbf6a8d6503d2.zip |
vyos.utils: T5195: fix option list output in vyos.utils.dict.check_mutually_exclusive_options
on missing options error
Diffstat (limited to 'python/vyos/utils/dict.py')
-rw-r--r-- | python/vyos/utils/dict.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}") |