udiskie: Remove the unused ejectable property

It is also being set incorrectly. It is not very useful because we should still
unmount filesystems even if the device is not ejectable.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2018-07-29 15:57:00 -04:00
1 parent 4184784988
commit 1a11b4967a
1 file changed
-6
-6
View File
@@ -52,12 +52,6 @@ def list_devices():
'filesystem_type': block.props.id_type
}
try:
drive = client.get_drive_for_block(block)
device['ejectable'] = drive.props.id_type
except Exception:
pass
try:
device['mount_points'] = obj.get_filesystem().props.mount_points
except Exception: