3
'''Apport package hook for shadow
5
(c) 2010 Canonical Ltd.
7
Marc Deslauriers <marc.deslauriers@canonical.com>
9
This program is free software; you can redistribute it and/or modify it
10
under the terms of the GNU General Public License as published by the
11
Free Software Foundation; either version 2 of the License, or (at your
12
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
13
the full text of the license.
16
from apport.hookutils import *
20
attach_file_if_exists(report, '/etc/login.defs', 'LoginDefs')
22
if __name__ == '__main__':
26
print '[%s]\n%s' % (key, report[key])