From 83d42fc02610f632acba35101ab3608889804752 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 5 Dec 2023 13:18:46 -0500 Subject: [PATCH] Fix type signature of CLI._close_veracrypt_volume() I think this was just a mistake because the volume is already unmounted before the volume is closed. --- export/securedrop_export/disk/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export/securedrop_export/disk/cli.py b/export/securedrop_export/disk/cli.py index bdf2141d76..de488147d7 100644 --- a/export/securedrop_export/disk/cli.py +++ b/export/securedrop_export/disk/cli.py @@ -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. """