diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:40:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-12 08:16:04 +0000 |
commit | 0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f (patch) | |
tree | 4af026cbc883daf53fb57056fe5d14fbe3c618d2 /debian/source_ayatana-indicator-power.py | |
parent | 511915f11b83c0b0327b9ed393e5bc2ff3b828a0 (diff) | |
download | ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.gz ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.tar.bz2 ayatana-indicator-power-0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f.zip |
Fork from Ubuntu's indicator-power code project.
Diffstat (limited to 'debian/source_ayatana-indicator-power.py')
-rw-r--r-- | debian/source_ayatana-indicator-power.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/source_ayatana-indicator-power.py b/debian/source_ayatana-indicator-power.py new file mode 100644 index 0000000..3d9b6c6 --- /dev/null +++ b/debian/source_ayatana-indicator-power.py @@ -0,0 +1,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 |