diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-03 00:15:43 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-03 21:02:47 +0200 |
commit | 3ea68d648581a20797b9e1b4438299a057a1820d (patch) | |
tree | a8dc0e66963a9c46a13e3af3b24c5335ca0d5393 /python/vyos/configverify.py | |
parent | 86f793fcb2c6be880819a572cc7982861ca38314 (diff) | |
download | vyos-1x-3ea68d648581a20797b9e1b4438299a057a1820d.tar.gz vyos-1x-3ea68d648581a20797b9e1b4438299a057a1820d.zip |
T6199: drop unused Python imports
found using "git ls-files *.py | xargs pylint | grep W0611"
(cherry picked from commit 274b2da242acd1f1f64ff1dee471e34295137c5f)
Diffstat (limited to 'python/vyos/configverify.py')
-rw-r--r-- | python/vyos/configverify.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/configverify.py b/python/vyos/configverify.py index 55978ec9d..18642877a 100644 --- a/python/vyos/configverify.py +++ b/python/vyos/configverify.py @@ -23,8 +23,6 @@ from vyos import ConfigError from vyos.utils.dict import dict_search -from vyos.utils.dict import dict_search_recursive - # pattern re-used in ipsec migration script dynamic_interface_pattern = r'(ppp|pppoe|sstpc|l2tp|ipoe)[0-9]+' @@ -246,7 +244,6 @@ def verify_interface_exists(ifname, warning_only=False): if the interface is defined on the CLI, if it's not found we try if it exists at the OS level. """ - import os from vyos.base import Warning from vyos.configquery import ConfigTreeQuery from vyos.utils.dict import dict_search_recursive |