1
'''apport package hook for xscreensaver
3
(c) 2009 Canonical Ltd.
4
Author: Brian Murray <brian@ubuntu.com>
6
This program is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the
8
Free Software Foundation; either version 3 of the License, or (at your
9
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
10
the full text of the license.
13
from apport.hookutils import *
17
attach_file_if_exists(report, '/var/log/Xorg.0.log', 'XorgLog')
18
attach_file_if_exists(report, '/var/log/Xorg.0.log.old', 'XorgLogOld')
19
report['DisplayDevices'] = pci_devices(PCI_DISPLAY)
20
report['glxinfo'] = command_output(['glxinfo'])
21
nonfree_kernel_modules()