index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <girtler.daniel@gmail.com> | 2024-03-08 00:42:25 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 14:42:25 +0100 |
commit | 21dd295259e26580faa259dfe32d8e9554ae8933 (patch) | |
tree | 4f0e05e41a1d343c255d3712274ceea596829f34 /archinstall/lib/disk/device_model.py | |
parent | 9b1fd2e44f0b08188a609edaefe696c00869a8b8 (diff) |
-rw-r--r-- | archinstall/lib/disk/device_model.py | 3 |
diff --git a/archinstall/lib/disk/device_model.py b/archinstall/lib/disk/device_model.py index 54b4932b..d4563faa 100644 --- a/archinstall/lib/disk/device_model.py +++ b/archinstall/lib/disk/device_model.py @@ -793,6 +793,9 @@ class PartitionModification: def is_exists_or_modify(self) -> bool: return self.status in [ModificationStatus.Exist, ModificationStatus.Modify] + def is_create_or_modify(self) -> bool: + return self.status in [ModificationStatus.Create, ModificationStatus.Modify] + @property def mapper_name(self) -> Optional[str]: if self.dev_path: |