Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-29 16:11:30 +0200
committerAnton Hvornum <anton@hvornum.se>2021-03-29 16:11:30 +0200
commitd26c1f820ddef17bfd9d1a536fbc8a068e815ff6 (patch)
treeff163aee2a030fa77f403b334e804734508d8b55 /archinstall
parent39cb0b94d94c3f4fa0dec4002e8d9221fb28c753 (diff)
Toned down the debugging a bit.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/disk.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 7bc09a0b..0e42feca 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -189,8 +189,9 @@ 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)
+ if value:
+ log(f'Marking {self} as encrypted: {value}', level=LOG_LEVELS.Debug)
+ log(f"Callstrack when marking the partition: {''.join(traceback.format_stack())}", level=LOG_LEVELS.Debug)
self._encrypted = value
@property