summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-07-20 12:58:41 -0400
committerDaniil Baturin <daniil@vyos.io>2022-07-20 12:58:41 -0400
commitf9e835c41643f8d41f675c0364686fbea5055896 (patch)
tree18e951f52f152a6558d3112c3ef61abb95a7bd67 /src
parent39fbe8eecf9f0a115ca0d54bbddc83e3f5fd0c8c (diff)
downloadvyos-1x-f9e835c41643f8d41f675c0364686fbea5055896.tar.gz
vyos-1x-f9e835c41643f8d41f675c0364686fbea5055896.zip
T2719: fix unused imports
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/cpu.py3
-rwxr-xr-xsrc/op_mode/version.py2
2 files changed, 0 insertions, 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 <http://www.gnu.org/licenses/>.
-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}}