summaryrefslogtreecommitdiff
path: root/python/vyos/utils
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-08-21 20:18:48 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-26 05:25:22 +0000
commit79c66813a99831352319c557f4712c5a63bdbcb1 (patch)
tree34341d0a5eceb4498b568dc55fc601acf9e2163d /python/vyos/utils
parent2c87a802e701d0af0f5a6db90375b890ebcc912b (diff)
downloadvyos-1x-79c66813a99831352319c557f4712c5a63bdbcb1.tar.gz
vyos-1x-79c66813a99831352319c557f4712c5a63bdbcb1.zip
configdiff: T5666: provide list of scripts scheduled for proposed commit
(cherry picked from commit 5819fd88e7948572a65b62885ddcba8ebbb7371c)
Diffstat (limited to 'python/vyos/utils')
-rw-r--r--python/vyos/utils/dict.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/utils/dict.py b/python/vyos/utils/dict.py
index 062ab9c81..9a4671c5f 100644
--- a/python/vyos/utils/dict.py
+++ b/python/vyos/utils/dict.py
@@ -267,6 +267,7 @@ def dict_to_paths_values(conf: dict) -> dict:
dict_of_options[path] = dict_search(path,conf)
return dict_of_options
+
def dict_to_key_paths(d: dict) -> list:
""" Generator to return list of key paths from dict of list[str]|str
"""