Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/blockdevice.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-10-22 21:54:16 +0200
committerAnton Hvornum <anton@hvornum.se>2021-10-22 21:54:16 +0200
commit7149b76f3bd3163938fe7413546e5f678f98851f (patch)
tree7c6768ea65799387a9b1b2dc5a2c0b7212e9e785 /archinstall/lib/disk/blockdevice.py
parent8b96080ec81939f3a69c28585c21c43e496d087b (diff)
Forgot some imports that didn't show up on a static run without going through a few of the menu's
Diffstat (limited to 'archinstall/lib/disk/blockdevice.py')
-rw-r--r--archinstall/lib/disk/blockdevice.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/disk/blockdevice.py b/archinstall/lib/disk/blockdevice.py
index daa65323..57cbcfa6 100644
--- a/archinstall/lib/disk/blockdevice.py
+++ b/archinstall/lib/disk/blockdevice.py
@@ -1,3 +1,4 @@
+import os
import json
import logging
from ..output import log
@@ -94,6 +95,7 @@ class BlockDevice:
@property
def partitions(self):
+ from .filesystem import Partition
SysCommand(['partprobe', self.path])
result = SysCommand(['/usr/bin/lsblk', '-J', self.path])
@@ -123,6 +125,7 @@ class BlockDevice:
@property
def partition_table_type(self):
+ from .filesystem import GPT
return GPT
@property