diff options
author | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 12:41:39 +0200 |
---|---|---|
committer | Alessio Treglia <quadrispro@ubuntu.com> | 2010-04-09 13:10:43 +0200 |
commit | 60c1b5e023d49a7eaa777082dc32726ef7cb396b (patch) | |
tree | acaa1146bfd54b5052338254bc8212429ee28d1d /debian/source_simple-scan.py | |
parent | cf7d885d901b0abdccaad5cc3305a080744eaf5b (diff) |
Imported Debian patch 0.9.10-1debian/0.9.10-1
Diffstat (limited to 'debian/source_simple-scan.py')
-rw-r--r-- | debian/source_simple-scan.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/source_simple-scan.py b/debian/source_simple-scan.py new file mode 100644 index 0000000..f889cde --- /dev/null +++ b/debian/source_simple-scan.py @@ -0,0 +1,14 @@ +'''apport package hook for simple-scan + +(c) 2010 Canonical Ltd. +Author: Robert Ancell <robert.ancell@canonical.com> +''' + +import os.path +from apport.hookutils import * + +LOG_FILE = os.path.expanduser('~/.cache/simple-scan/simple-scan.log') + +def add_info(report): + attach_hardware(report) + attach_file_if_exists(report, LOG_FILE, 'SimpleScanLog') |