This looks great but I might also add in something like the following:
if command_available("mtp-detect"):
report['MTPDetect'] = command_output("mtp-detect")
else:
ui.information("Please install the package mtp-tools so we can gather more detailed debugging information and rerun ubuntu-bug libmtp8")
This looks great but I might also add in something like the following:
if command_ available( "mtp-detect" ): 'MTPDetect' ] = command_ output( "mtp-detect" ) information( "Please install the package mtp-tools so we can gather more detailed debugging information and rerun ubuntu-bug libmtp8")
report[
else:
ui.