index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-02-07 12:52:12 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-02-07 12:52:12 +0100 |
commit | fa2270a11b833928186727812a3a3f82d18ef5ce (patch) | |
tree | b393e6ef8c46827b2591c1d7e9c9875d75bc41ce /archinstall/lib | |
parent | a618ebd6111de0cab9c0f04449cf1a8483156615 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 3 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index caf5c4e1..1d78d127 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -100,6 +100,9 @@ class BlockDevice(): all_partitions = self.partitions return [all_partitions[k] for k in all_partitions] + def has_partitions(self): + return len(self.partitions) + class Partition(): def __init__(self, path, part_id=None, size=-1, filesystem=None, mountpoint=None, encrypted=False): |