Fixes: AttributeError: 'BlockDevice' object has no attribute 'keep_partitions'

This commit is contained in:
Anton Hvornum 2021-04-04 22:40:17 +02:00
parent fe68644428
commit b46e391ebc
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ class BlockDevice():
self.path = path
self.info = info
self.keep_partitions = True
self.part_cache = OrderedDict()
# TODO: Currently disk encryption is a BIT misleading.
# It's actually partition-encryption, but for future-proofing this