~fcwu-tw/jockey/lp1196848

Viewing all changes in revision 156.

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2013-04-16 11:19:02 UTC
  • Revision ID: package-import@ubuntu.com-20130416111902-oy4ypbh20hh3itvb
Tags: 0.9.7-0ubuntu7.9
* jockey/kerneldetection.py:
  - Catch KeyError in get_linux_metapackage() (LP: #1123107).
    Sometimes the "Source" key is not available.
* tests/kerneldetection.py:
  - Add two tests to make sure that get_linux_metapackage()
    doesn't raise a KeyError when dealing with packages
    without a "Source" field and that the function doesn't
    stop if one or two packages don't have the said field.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: