Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Girtler <girtler.daniel@gmail.com>2024-05-10 07:06:06 +1000
committerGitHub <noreply@github.com>2024-05-09 23:06:06 +0200
commitfd23efdcfb35d8b864b06331d9022d93dd5be712 (patch)
tree51d0b57890fd26d4c77265b3b039a78df7b4fbfc
parent3af850632f5fe94dfe05ffcf865d8697f864433c (diff)
Fix 2479 - remove unnecessary partiton info field (#2485)
-rw-r--r--archinstall/lib/disk/device_model.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/archinstall/lib/disk/device_model.py b/archinstall/lib/disk/device_model.py
index bf9df44e..f98d05fb 100644
--- a/archinstall/lib/disk/device_model.py
+++ b/archinstall/lib/disk/device_model.py
@@ -671,10 +671,6 @@ class PartitionModification:
flags: List[PartitionFlag] = field(default_factory=list)
btrfs_subvols: List[SubvolumeModification] = field(default_factory=list)
- # only set when modification was created from an existing
- # partition info object to be able to reference it back
- part_info: Optional[_PartitionInfo] = None
-
# only set if the device was created or exists
dev_path: Optional[Path] = None
partn: Optional[int] = None
@@ -745,8 +741,7 @@ class PartitionModification:
uuid=partition_info.uuid,
flags=partition_info.flags,
mountpoint=mountpoint,
- btrfs_subvols=subvol_mods,
- part_info=partition_info
+ btrfs_subvols=subvol_mods
)
@property