diff options
author | Christian Breunig <christian@breunig.cc> | 2024-08-05 07:26:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 07:26:02 +0200 |
commit | 9340765d8484304274d30d252fc16fbebd80a870 (patch) | |
tree | 567999d6a4cda327b2120b8bf4f05a68b80eb910 /src/conf_mode | |
parent | 15c77978f30bebe7c6d4f4e9a87c56e12e1382cd (diff) | |
parent | 4d2b10ff1f4e862abf1c11f3cfbdc2a910c48301 (diff) | |
download | vyos-1x-9340765d8484304274d30d252fc16fbebd80a870.tar.gz vyos-1x-9340765d8484304274d30d252fc16fbebd80a870.zip |
Merge pull request #3939 from c-po/unused-imports
T5873: T6619: remove unused imports
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/protocols_static_multicast.py | 6 | ||||
-rwxr-xr-x | src/conf_mode/vpn_ipsec.py | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/conf_mode/protocols_static_multicast.py b/src/conf_mode/protocols_static_multicast.py index 2bf794042..d323ceb4f 100755 --- a/src/conf_mode/protocols_static_multicast.py +++ b/src/conf_mode/protocols_static_multicast.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2020 VyOS maintainers and contributors +# Copyright (C) 2020-2024 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -14,7 +14,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import os from ipaddress import IPv4Address from sys import exit @@ -22,8 +21,7 @@ from sys import exit from vyos import ConfigError from vyos import frr from vyos.config import Config -from vyos.utils.process import call -from vyos.template import render, render_to_string +from vyos.template import render_to_string from vyos import airbag airbag.enable() diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py index e8a0bc414..b3e05a814 100755 --- a/src/conf_mode/vpn_ipsec.py +++ b/src/conf_mode/vpn_ipsec.py @@ -25,7 +25,6 @@ from ipaddress import ip_address from netaddr import IPNetwork from netaddr import IPRange -from vyos.base import Warning from vyos.config import Config from vyos.config import config_dict_merge from vyos.configdep import set_dependents |