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 2018-07-23 16:58:30 -07:00 committed by James Valleroy
parent 4184784988
commit 1a11b4967a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

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: