From fd23efdcfb35d8b864b06331d9022d93dd5be712 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Fri, 10 May 2024 07:06:06 +1000 Subject: Fix 2479 - remove unnecessary partiton info field (#2485) --- archinstall/lib/disk/device_model.py | 7 +------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3-70-g09d2