Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/only_hd_installation.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/only_hd_installation.py')
-rw-r--r--examples/only_hd_installation.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/only_hd_installation.py b/examples/only_hd_installation.py
index 2fc74bf0..075bde20 100644
--- a/examples/only_hd_installation.py
+++ b/examples/only_hd_installation.py
@@ -1,9 +1,7 @@
-import logging
from pathlib import Path
import archinstall
-from archinstall import Installer
-from archinstall.lib import disk
+from archinstall import Installer, disk, debug
def ask_user_questions():
@@ -48,7 +46,7 @@ def perform_installation(mountpoint: Path):
target.parent.mkdir(parents=True)
# For support reasons, we'll log the disk layout post installation (crash or no crash)
- archinstall.log(f"Disk states after installing: {disk.disk_layouts()}", level=logging.DEBUG)
+ debug(f"Disk states after installing: {disk.disk_layouts()}")
ask_user_questions()