aboutsummaryrefslogtreecommitdiff
path: root/debian/source_ayatana-indicator-power.py
blob: 3d9b6c6b9c099b0b00ea41dc230395e0886ed639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'''apport package hook for ayatana-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