← Back to team overview

apport-hackers team mailing list archive

[Merge] lp:~brian-murray/apport/bug-1468154 into lp:apport


Brian Murray has proposed merging lp:~brian-murray/apport/bug-1468154 into lp:apport.

Requested reviews:
  Apport upstream developers (apport-hackers)
Related bugs:
  Bug #1468154 in apport (Ubuntu): "kerneloops-daemon crashes if "linux-image-$(uname -r)" doesn't exist in a apt repository"

For more details, see:
Your team Apport upstream developers is requested to review the proposed merge of lp:~brian-murray/apport/bug-1468154 into lp:apport.
=== modified file 'data/kernel_oops'
--- data/kernel_oops	2014-07-29 09:41:06 +0000
+++ data/kernel_oops	2015-06-24 15:38:41 +0000
@@ -32,7 +32,7 @@
     package_version = apport.packaging.get_version(package)
 except ValueError as e:
-    if 'does not exist' in e.message:
+    if 'does not exist' in str(e):
         package_version = 'unknown'
 pr['Package'] = '%s %s' % (package, package_version)
 pr['SourcePackage'] = 'linux'

Follow ups