summaryrefslogtreecommitdiff
path: root/debian/local/apport-hook.py
blob: 4331ac1f18dd6079660af96f54c8962b93ddc0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'''apport package hook for cups

(c) 2009 Canonical Ltd.
Author: Brian Murray <brian@ubuntu.com>
'''

from apport.hookutils import *

def add_info(report):
    attach_hardware(report)
    attach_printing(report)
    attach_mac_events(report, ['/usr/sbin/cupsd',
                               '/usr/lib/cups/backend/cups-pdf'])