File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11__author__ = 'desultory'
2- __version__ = '2.6.0 '
2+ __version__ = '2.6.1 '
33
44from zenlib .util import contains
55
@@ -133,9 +133,9 @@ def _validate_cryptsetup_device(self, mapped_name) -> None:
133133 blkid information, and cryptsetup information.
134134 Uses `cryptsetup luksDump` to check that the device is a LUKS device.
135135 """
136- for _dm_info in self ['_dm_info ' ].values ():
137- if _dm_info ['name' ] == mapped_name :
138- dm_info = _dm_info # Get the device mapper information
136+ for device_info in self ['_vblk_info ' ].values ():
137+ if device_info ['name' ] == mapped_name :
138+ dm_info = device_info # Get the device mapper information
139139 break
140140 else :
141141 raise ValueError ("No device mapper information found for: %s" % mapped_name )
You can’t perform that action at this time.
0 commit comments