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")

-- 
add Apport hook to libmtp
https://bugs.launchpad.net/bugs/430261
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to