Moved some debugging to catch more variable settings.

This commit is contained in:
Anton Hvornum 2021-03-29 15:57:31 +02:00
parent 0e26975247
commit 39cb0b94d9
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -190,6 +190,7 @@ class Partition():
@encrypted.setter
def encrypted(self, value :bool):
log(f'Marking {self} as encrypted', level=LOG_LEVELS.Debug)
log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug)
self._encrypted = value
@property
@ -453,7 +454,6 @@ class Filesystem():
if encrypt_root_partition:
log(f"Marking partition {self.blockdevice.partition[1]} as encrypted.", level=LOG_LEVELS.Debug)
log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug)
self.blockdevice.partition[1].encrypted = True