index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-06 10:47:19 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-11-06 10:47:19 +0100 |
commit | 129326b93fc58a00d15ed89fe4e701d07b0385bf (patch) | |
tree | 7c86893ab3776a6806241a74a75052e448c6cad3 /archinstall/lib/disk/helpers.py | |
parent | 97a91aab6019d6efb500de1240bc58b4165ab02d (diff) | |
parent | 17fe62c641607cc460e6c6590192ad8de0a21b1a (diff) |
-rw-r--r-- | archinstall/lib/disk/helpers.py | 5 |
diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index 341b732f..8e044ce3 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -1,10 +1,11 @@ import re +import os import json import logging import pathlib from typing import Union from .blockdevice import BlockDevice -from ..exceptions import SysCallError +from ..exceptions import SysCallError, DiskError from ..general import SysCommand from ..output import log @@ -199,4 +200,4 @@ def find_partition_by_mountpoint(block_devices, relative_mountpoint :str): for device in block_devices: for partition in block_devices[device]['partitions']: if partition.get('mountpoint', None) == relative_mountpoint: - return partition
\ No newline at end of file + return partition |