Merge lp:~brian-murray/ubuntu/oneiric/apport/bug-828037 into lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu

Proposed by Brian Murray
Status: Merged
Merged at revision: 1824
Proposed branch: lp:~brian-murray/ubuntu/oneiric/apport/bug-828037
Merge into: lp:~ubuntu-core-dev/ubuntu/oneiric/apport/ubuntu
Diff against target: 34 lines (+11/-5)
2 files modified
data/package-hooks/source_ubiquity.py (+4/-5)
debian/changelog (+7/-0)
To merge this branch: bzr merge lp:~brian-murray/ubuntu/oneiric/apport/bug-828037
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+71901@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/package-hooks/source_ubiquity.py'
--- data/package-hooks/source_ubiquity.py 2011-08-16 13:53:56 +0000
+++ data/package-hooks/source_ubiquity.py 2011-08-17 14:38:25 +0000
@@ -26,11 +26,10 @@
26 add_installation_log(report, 'UbiquitySyslog', 'syslog')26 add_installation_log(report, 'UbiquitySyslog', 'syslog')
27 syslog = report['UbiquitySyslog']27 syslog = report['UbiquitySyslog']
28 if 'Buffer I/O error on device' in syslog:28 if 'Buffer I/O error on device' in syslog:
29 if not re.search('Attached .* CD-ROM (\w+)', syslog):29 if re.search('Attached .* CD-ROM (\w+)', syslog):
30 continue30 cd_drive = re.search('Attached .* CD-ROM (\w+)', syslog).group(1)
31 cd_drive = re.search('Attached .* CD-ROM (\w+)', syslog).group(1)31 cd_error = re.search('Buffer I/O error on device %s' % cd_drive,
32 cd_error = re.search('Buffer I/O error on device %s' % cd_drive,32 syslog)
33 syslog)
34 if cd_error:33 if cd_error:
35 ui.information("The system log from your installation contains an error. The specific error commonly occurs when there is an issue with the media from which you were installing. This can happen when your media is dirty or damaged or when you've burned the media at a high speed. Please try cleaning the media and or burning new media at a lower speed. In the event that you continue to encounter these errors it may be an issue with your CD / DVD drive.")34 ui.information("The system log from your installation contains an error. The specific error commonly occurs when there is an issue with the media from which you were installing. This can happen when your media is dirty or damaged or when you've burned the media at a high speed. Please try cleaning the media and or burning new media at a lower speed. In the event that you continue to encounter these errors it may be an issue with your CD / DVD drive.")
36 raise StopIteration35 raise StopIteration
3736
=== modified file 'debian/changelog'
--- debian/changelog 2011-08-17 13:52:25 +0000
+++ debian/changelog 2011-08-17 14:38:25 +0000
@@ -1,3 +1,10 @@
1apport (1.21.3-0ubuntu4) oneiric; urgency=low
2
3 * data/package-hooks/source_ubiquity.py: remove use of continue when not in
4 a loop (LP: #828037)
5
6 -- Brian Murray <brian@ubuntu.com> Wed, 17 Aug 2011 07:34:21 -0700
7
1apport (1.21.3-0ubuntu3) oneiric; urgency=low8apport (1.21.3-0ubuntu3) oneiric; urgency=low
29
3 * Fix crash in GLib.markup_escape_text() call. Patch cherrypicked from10 * Fix crash in GLib.markup_escape_text() call. Patch cherrypicked from

Subscribers

People subscribed via source and target branches