blob: ea0cf0fbc9110a425edbb82111d73a01f0b8ef1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'''apport package hook for indicator-power
(c) 2011 Canonical Ltd.
Author: Ken VanDine <ken.vandine@ubuntu.com>
'''
from apport.hookutils import *
from os import path
def add_info(report):
report['UPowerDump'] = command_output(['upower', '-d'])
return report
|