From f685849b8d2a08f1fe22e9c9d16f8830bf53b58f Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Fri, 20 Dec 2024 01:25:12 -0500 Subject: [PATCH] luks: remove superfluous _mapper_dev (#3031) --- archinstall/lib/luks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 81de0d97..d15d761c 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -19,9 +19,6 @@ class Luks2: key_file: Path | None = None auto_unmount: bool = False - # will be set internally after unlocking the device - _mapper_dev: Path | None = None - @property def mapper_dev(self) -> Path | None: if self.mapper_name: @@ -172,8 +169,6 @@ class Luks2: debug(f"Closing crypt device {child.name}") SysCommand(f"cryptsetup close {child.name}") - self._mapper_dev = None - def create_keyfile(self, target_path: Path, override: bool = False) -> None: """ Routine to create keyfiles, so it can be moved elsewhere