summaryrefslogtreecommitdiff
path: root/debian/source_simple-scan.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 18:18:26 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 18:18:26 +0200
commit44a1fdd0075c7818b65d4191290cdce733687146 (patch)
tree3254cbee0a3ab39757bb7a1972faa884127f33cd /debian/source_simple-scan.py
parenta366a6feda133b888da763569953636c90017f57 (diff)
parentcce8437bfbdb21e2b97025de6721c78f6d4654fc (diff)
Merge tag 'upstream/3.13.4.2'
Upstream version 3.13.4.2
Diffstat (limited to 'debian/source_simple-scan.py')
-rw-r--r--debian/source_simple-scan.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/debian/source_simple-scan.py b/debian/source_simple-scan.py
deleted file mode 100644
index 6fab46c..0000000
--- a/debian/source_simple-scan.py
+++ /dev/null
@@ -1,23 +0,0 @@
-'''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')
-driver_packages = ['libsane', 'libsane-extras', 'hplip', 'hpoj']
-
-def add_info(report):
- attach_hardware(report)
- versions = ''
- for package in driver_packages:
- try:
- version = packaging.get_version(package)
- except ValueError:
- version = 'N/A'
- versions += '%s %s\n' % (package, version)
- report['DriverPackageVersions'] = versions
- attach_file_if_exists(report, LOG_FILE, 'SimpleScanLog')