~curtin-dev/curtin/trunk

Viewing all changes in revision 416.2.1.

  • Committer: Scott Moser
  • Date: 2016-08-18 14:53:38 UTC
  • mto: This revision was merged to the branch mainline in revision 418.
  • Revision ID: smoser@ubuntu.com-20160818145338-fmhlxe1cf5akafjm
apt: fix bug in disable_suites if sources.list line is blank.

if disable_suites was provided with a sources.list that had blank
lines, it would throw a IndexError.  This fixes that bug and adds
a unit test.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: