From f9e835c41643f8d41f675c0364686fbea5055896 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 20 Jul 2022 12:58:41 -0400 Subject: T2719: fix unused imports --- src/op_mode/cpu.py | 3 --- src/op_mode/version.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/op_mode/cpu.py b/src/op_mode/cpu.py index cb55ce407..f9c425826 100755 --- a/src/op_mode/cpu.py +++ b/src/op_mode/cpu.py @@ -14,15 +14,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -import json import sys -import typing import vyos.cpu import vyos.opmode from jinja2 import Template -from vyos.util import popen, DEVNULL cpu_template = Template(""" {% for cpu in cpus %} diff --git a/src/op_mode/version.py b/src/op_mode/version.py index 847bb197e..06208c3e5 100755 --- a/src/op_mode/version.py +++ b/src/op_mode/version.py @@ -18,7 +18,6 @@ # Displays image version and system information. # Used by the "run show version" command. -import argparse import sys import typing @@ -27,7 +26,6 @@ import vyos.version import vyos.limericks from jinja2 import Template -from vyos.util import call version_output_tmpl = """ Version: VyOS {{version}} -- cgit v1.2.3