Removed some debugging

This commit is contained in:
Anton Hvornum 2022-02-09 11:59:44 +01:00
parent 216ca90b29
commit 2319267a46
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class luks2:
'luksFormat', partition.path,
])
print(f"Looking for phrase: 'Enter passphrase for {partition.path}'")
# print(f"Looking for phrase: 'Enter passphrase for {partition.path}'")
cryptworker = SysCommandWorker(cryptsetup_args, peak_output=True)
pw_given = False
@ -181,7 +181,7 @@ class luks2:
if '/' in mountpoint:
os.path.basename(mountpoint) # TODO: Raise exception instead?
print(f"Looking for phrase: 'Enter passphrase for {partition.path}'")
# print(f"Looking for phrase: 'Enter passphrase for {partition.path}'")
cryptworker = SysCommandWorker(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --type luks2', peak_output=True)
pw_given = False