udiskie: Also list read-only filesystems

In case the media contains a read-only copy of a backup and we need to restore
from it.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2018-07-23 17:11:34 -07:00 committed by James Valleroy
parent cdf07a92b4
commit e420520e8e
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -47,8 +47,7 @@ def list_devices():
block = obj.get_block()
if block.props.id_usage != 'filesystem' or \
block.props.hint_system or \
block.props.read_only:
block.props.hint_system:
continue
device_name = block.props.device