summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-05-11 16:39:13 +0100
committerDaniil Baturin <daniil@baturin.org>2023-05-11 16:39:13 +0100
commit07de3355e92f90fdcfd67721f4adbf6a8d6503d2 (patch)
treeb3c65980242af5c133d71bc1f28b15e945702174
parentc3f957b9bfc7233fe08d4dd65b80abf92097c81b (diff)
downloadvyos-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
-rw-r--r--python/vyos/utils/dict.py2
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}")