storage: Fix incorrect i18n when throwing and error

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-08-07 05:40:00 -04:00
1 parent de6f437f1a
commit 8b96ea0698
1 file changed
+1 -2
+1 -2
View File
@@ -258,8 +258,7 @@ def eject_drive_of_device(device_path):
if not found_objects:
raise ValueError(
_('No such device - {device_path}').format(
device_path=device_path))
'No such device - {device_path}'.format(device_path=device_path))
obj = found_objects[0]