summaryrefslogtreecommitdiff
path: root/src/conf_mode/policy_local-route.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/policy_local-route.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/policy_local-route.py')
-rwxr-xr-xsrc/conf_mode/policy_local-route.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/policy_local-route.py b/src/conf_mode/policy_local-route.py
index d19b23e18..f458f4e82 100755
--- a/src/conf_mode/policy_local-route.py
+++ b/src/conf_mode/policy_local-route.py
@@ -14,8 +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 itertools import product
from sys import exit
@@ -23,14 +21,12 @@ from vyos.config import Config
from vyos.configdict import dict_merge
from vyos.configdict import node_changed
from vyos.configdict import leaf_node_changed
-from vyos.template import render
from vyos.configverify import verify_interface_exists
from vyos.utils.process import call
from vyos import ConfigError
from vyos import airbag
airbag.enable()
-
def get_config(config=None):
if config: