~binli/ubuntu/trusty/cups/from-xenial

« back to all changes in this revision

Viewing changes to debian/local/apport-hook.py

  • Committer: Bin Li
  • Date: 2017-03-07 06:11:18 UTC
  • Revision ID: bin.li@canonical.com-20170307061118-n3d3wp36al9zoz17
Init version from 16.04

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''apport package hook for cups
 
2
 
 
3
(c) 2009 Canonical Ltd.
 
4
Author: Brian Murray <brian@ubuntu.com>
 
5
'''
 
6
 
 
7
from apport.hookutils import *
 
8
 
 
9
def add_info(report):
 
10
    attach_hardware(report)
 
11
    attach_printing(report)
 
12
    attach_mac_events(report, ['/usr/sbin/cupsd',
 
13
                               '/usr/lib/cups/backend/cups-pdf'])