summaryrefslogtreecommitdiff
path: root/src/conf_mode/netns.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-03 00:15:43 +0200
committerChristian Breunig <christian@breunig.cc>2024-04-03 00:15:43 +0200
commit274b2da242acd1f1f64ff1dee471e34295137c5f (patch)
tree664ecd75f20eba0115761967a7728f2ab0c086ae /src/conf_mode/netns.py
parent4c7c168fe970b807750a05ceb66b70c0d8652535 (diff)
downloadvyos-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 'src/conf_mode/netns.py')
-rwxr-xr-xsrc/conf_mode/netns.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf_mode/netns.py b/src/conf_mode/netns.py
index 7cee33bc6..b57e46a0d 100755
--- a/src/conf_mode/netns.py
+++ b/src/conf_mode/netns.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2021 VyOS maintainers and contributors
+# Copyright (C) 2021-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
@@ -17,14 +17,11 @@
import os
from sys import exit
-from tempfile import NamedTemporaryFile
from vyos.config import Config
from vyos.configdict import node_changed
-from vyos.ifconfig import Interface
from vyos.utils.process import call
from vyos.utils.dict import dict_search
-from vyos.utils.network import get_interface_config
from vyos import ConfigError
from vyos import airbag
airbag.enable()