From 76d6f08841c7178e58a3691682558ff77f81cce3 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Sat, 28 Feb 2026 01:30:59 -0500 Subject: [PATCH] Remove unnecessary post-init (#4267) --- archinstall/lib/luks.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 13e5f83a..53a53150 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -40,10 +40,6 @@ class Luks2: worker.poll() worker.write(b'YES\n', line_ending=False) - def __post_init__(self) -> None: - if self.luks_dev_path is None: - raise ValueError('Partition must have a path set') - def __enter__(self) -> None: self.unlock(self.key_file)