Merge lp:~vorlon/aptdaemon/lp.1054984 into lp:aptdaemon

Proposed by Steve Langasek
Status: Merged
Merged at revision: 862
Proposed branch: lp:~vorlon/aptdaemon/lp.1054984
Merge into: lp:aptdaemon
Diff against target: 12 lines (+1/-1)
1 file modified
aptdaemon/crash.py (+1/-1)
To merge this branch: bzr merge lp:~vorlon/aptdaemon/lp.1054984
Reviewer Review Type Date Requested Status
Martin Pitt (community) Approve
Review via email: mp+126515@code.launchpad.net

Description of the change

Fixes a common aptd crasher in quantal.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'aptdaemon/crash.py'
2--- aptdaemon/crash.py 2012-01-24 07:47:13 +0000
3+++ aptdaemon/crash.py 2012-09-26 17:34:24 +0000
4@@ -64,7 +64,7 @@
5 # Write report
6 report_path = apport.fileutils.make_report_path(report, uid)
7 if not os.path.exists(report_path):
8- report.write(open(report_path, 'w'))
9+ report.write(open(report_path, 'wb'))
10
11 if __name__ == "__main__":
12 apt_pkg.init_config()

Subscribers

People subscribed via source and target branches

to status/vote changes: