From 22b47d8f27c3d4558f1df2d79cad7a63fd7cc871 Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Sat, 26 Aug 2023 16:01:54 +0600 Subject: Drop unused patches Signed-off-by: Mubashshir --- debian/patches/apport-report.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 debian/patches/apport-report.patch (limited to 'debian/patches/apport-report.patch') diff --git a/debian/patches/apport-report.patch b/debian/patches/apport-report.patch deleted file mode 100644 index c715386..0000000 --- a/debian/patches/apport-report.patch +++ /dev/null @@ -1,24 +0,0 @@ -Description: write apport reports the right way -Author: Brian Murray -Origin: vendor -Bug-Ubuntu: http://launchpad.net/bugs/1700810 -Forwarded: not-needed -Last-Update: 2020-05-11 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ -Index: aptdaemon-1.1.1+bzr982/aptdaemon/crash.py -=================================================================== ---- aptdaemon-1.1.1+bzr982.orig/aptdaemon/crash.py -+++ aptdaemon-1.1.1+bzr982/aptdaemon/crash.py -@@ -69,9 +69,8 @@ def create_report(error, traceback, tran - uid = os.path.basename(trans.tid) - - # Write report -- report_path = apport.fileutils.make_report_path(report, uid) -- if not os.path.exists(report_path): -- report.write(open(report_path, 'wb')) -+ with apport.fileutils.make_report_file(report, uid) as f: -+ report.write(f) - - if __name__ == "__main__": - apt_pkg.init_config() -- cgit v1.2.3