diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-06 10:46:30 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-04-06 10:58:33 +0200 |
commit | 289c5ea60c8087b30952df22cdfe210ed0a5808c (patch) | |
tree | c833201cc47f07edcc16fa7ed882b9741eb8bd38 /src/op_mode | |
parent | 66428fb513f4a3e3c8bdc2f452fc0ac4a3d2657e (diff) | |
download | vyos-1x-289c5ea60c8087b30952df22cdfe210ed0a5808c.tar.gz vyos-1x-289c5ea60c8087b30952df22cdfe210ed0a5808c.zip |
T6199: remove unused Python imports from migration scripts
(cherry picked from commit 489e6fababa60d9c0fbfdb421305cbe563432499)
# Conflicts:
# src/migration-scripts/dhcp-server/9-to-10
# src/migration-scripts/dhcpv6-server/3-to-4
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/clear_dhcp_lease.py | 1 | ||||
-rwxr-xr-x | src/op_mode/dhcp.py | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/op_mode/clear_dhcp_lease.py b/src/op_mode/clear_dhcp_lease.py index f372d3af0..b37b62bca 100755 --- a/src/op_mode/clear_dhcp_lease.py +++ b/src/op_mode/clear_dhcp_lease.py @@ -3,7 +3,6 @@ import argparse import re -from isc_dhcp_leases import Lease from isc_dhcp_leases import IscDhcpLeases from vyos.configquery import ConfigTreeQuery diff --git a/src/op_mode/dhcp.py b/src/op_mode/dhcp.py index 2f90865fd..a7143d664 100755 --- a/src/op_mode/dhcp.py +++ b/src/op_mode/dhcp.py @@ -29,9 +29,6 @@ import vyos.opmode from vyos.base import Warning from vyos.configquery import ConfigTreeQuery -from vyos.utils.dict import dict_search -from vyos.utils.file import read_file -from vyos.utils.process import cmd from vyos.utils.process import is_systemd_service_running from vyos.utils.process import call |