diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-03 00:15:43 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-03 00:15:43 +0200 |
commit | 274b2da242acd1f1f64ff1dee471e34295137c5f (patch) | |
tree | 664ecd75f20eba0115761967a7728f2ab0c086ae /python/vyos/config_mgmt.py | |
parent | 4c7c168fe970b807750a05ceb66b70c0d8652535 (diff) | |
download | vyos-1x-274b2da242acd1f1f64ff1dee471e34295137c5f.tar.gz vyos-1x-274b2da242acd1f1f64ff1dee471e34295137c5f.zip |
T6199: drop unused Python imports
found using "git ls-files *.py | xargs pylint | grep W0611"
Diffstat (limited to 'python/vyos/config_mgmt.py')
-rw-r--r-- | python/vyos/config_mgmt.py | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/python/vyos/config_mgmt.py b/python/vyos/config_mgmt.py index 28ccee769..fc51d781c 100644 --- a/python/vyos/config_mgmt.py +++ b/python/vyos/config_mgmt.py @@ -1,4 +1,4 @@ -# Copyright 2023 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2023-2024 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -19,18 +19,23 @@ import sys import gzip import logging -from typing import Optional, Tuple, Union +from typing import Optional +from typing import Tuple from filecmp import cmp from datetime import datetime -from textwrap import dedent, indent +from textwrap import dedent from pathlib import Path from tabulate import tabulate from shutil import copy, chown -from urllib.parse import urlsplit, urlunsplit +from urllib.parse import urlsplit +from urllib.parse import urlunsplit from vyos.config import Config -from vyos.configtree import ConfigTree, ConfigTreeError, show_diff -from vyos.load_config import load, LoadConfigError +from vyos.configtree import ConfigTree +from vyos.configtree import ConfigTreeError +from vyos.configtree import show_diff +from vyos.load_config import load +from vyos.load_config import LoadConfigError from vyos.defaults import directories from vyos.version import get_full_version_data from vyos.utils.io import ask_yes_no |