oem: Improve info output

merge-requests/1/head
Matthias Klumpp 7 years ago
parent 82694d8fe9
commit b00069fd3a

@ -29,6 +29,12 @@ class DiskPath:
self.id_alias = id_alias
self.dev_path = dev_path
def __repr__(self):
dname = '???'
if self.id_alias:
dname = os.path.basename(self.id_alias)
return '{} ({})'.format(dname, self.dev_path)
class LibremDiskDevice(object):

Loading…
Cancel
Save