File apport-report_append.diff of Package apport
=== modified file 'apport/ui.py'
--- old/apport/ui.py 2009-01-13 17:43:05 +0000
+++ new/apport/ui.py 2009-02-03 09:42:00 +0000
@@ -63,9 +63,9 @@
report.anonymize()
if reportfile:
- f = open(reportfile, 'w')
+ f = open(reportfile, 'a')
os.chmod (reportfile, 0)
- report.write(f, only_new=False)
+ report.write(f, only_new=True)
f.close()
apport.fileutils.mark_report_seen(reportfile)
os.chmod (reportfile, 0600)