Skip to content

Commit 4d73d69

Browse files
committed
luks: remove superfluous _mapper_dev
1 parent 05441a4 commit 4d73d69

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

archinstall/lib/luks.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ class Luks2:
1919
key_file: Path | None = None
2020
auto_unmount: bool = False
2121

22-
# will be set internally after unlocking the device
23-
_mapper_dev: Path | None = None
24-
2522
@property
2623
def mapper_dev(self) -> Path | None:
2724
if self.mapper_name:
@@ -172,8 +169,6 @@ def lock(self) -> None:
172169
debug(f"Closing crypt device {child.name}")
173170
SysCommand(f"cryptsetup close {child.name}")
174171

175-
self._mapper_dev = None
176-
177172
def create_keyfile(self, target_path: Path, override: bool = False) -> None:
178173
"""
179174
Routine to create keyfiles, so it can be moved elsewhere

0 commit comments

Comments
 (0)