From 25551c5a30bda8bd6e459638cda252ee4c93a07f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 28 Oct 2020 19:30:11 +0100 Subject: vyos.util: T2995: rename vyos_dict_search() -> dict_search() Renamed using snippet below: ---------------------------- for file in $(find . -name "*.py") do sed -i "s/vyos_dict_search/dict_search/" $file done --- python/vyos/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/util.py') diff --git a/python/vyos/util.py b/python/vyos/util.py index e3e389baf..fc6915687 100644 --- a/python/vyos/util.py +++ b/python/vyos/util.py @@ -603,7 +603,7 @@ def find_device_file(device): return None -def vyos_dict_search(path, dict): +def dict_search(path, dict): """ Traverse Python dictionary (dict) delimited by dot (.). Return value of key if found, None otherwise. -- cgit v1.2.3