summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-09-20 14:53:24 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-12-16 20:37:10 -0600
commitc3d2e02898259190d107127d867f9e16a2b84f1f (patch)
tree3bfe781056ccd8797fe465a5d123946760d8091e /python/vyos
parenta8f1ba3bb19de99f825525d3de98ec022c38d832 (diff)
downloadvyos-1x-c3d2e02898259190d107127d867f9e16a2b84f1f.tar.gz
vyos-1x-c3d2e02898259190d107127d867f9e16a2b84f1f.zip
image: T5195: vyos.util -> vyos.utils package refactoring
(cherry picked from commit fcded7930b5426193e8490c6df2a70e300a60e31)
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/system/disk.py2
-rw-r--r--python/vyos/system/grub.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/system/disk.py b/python/vyos/system/disk.py
index e20cf32be..b78190c06 100644
--- a/python/vyos/system/disk.py
+++ b/python/vyos/system/disk.py
@@ -18,7 +18,7 @@ from os import sync
from psutil import disk_partitions
-from vyos.util import run, cmd
+from vyos.utils.process import run, cmd
def disk_cleanup(drive_path: str) -> None:
diff --git a/python/vyos/system/grub.py b/python/vyos/system/grub.py
index 11c214675..47c674de8 100644
--- a/python/vyos/system/grub.py
+++ b/python/vyos/system/grub.py
@@ -19,7 +19,7 @@ from typing import Union
from uuid import uuid5, NAMESPACE_URL, UUID
from vyos.template import render
-from vyos.util import run, cmd
+from vyos.utils.process import run, cmd
from vyos.system import disk
# Define variables