summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}}