[go: up one dir, main page]

File: apport-hook.py

package info (click to toggle)
cups 1.7.5-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 35,968 kB
  • sloc: ansic: 139,321; cpp: 8,582; makefile: 3,107; sh: 2,217; python: 10
file content (13 lines) | stat: -rw-r--r-- 328 bytes parent folder | download | duplicates (11)
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'])