Skip to content

Commit

Permalink
Fix type signature of CLI._close_veracrypt_volume()
Browse files Browse the repository at this point in the history
I think this was just a mistake because the volume is already unmounted
before the volume is closed.
  • Loading branch information
legoktm committed Dec 14, 2023
1 parent 861359f commit 83d42fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/securedrop_export/disk/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def _close_luks_volume(self, unlocked_device: Volume) -> None:
logger.error("Error closing device")
raise ExportException(sdstatus=Status.DEVICE_ERROR) from ex

def _close_veracrypt_volume(self, unlocked_device: MountedVolume) -> None:
def _close_veracrypt_volume(self, unlocked_device: Volume) -> None:
"""
Helper. Close VeraCrypt volume.
"""
Expand Down

0 comments on commit 83d42fc

Please sign in to comment.