~peter-maloney/bzr/peter

Viewing all changes in revision 2781.

  • Committer: Steve Beattie
  • Date: 2014-11-13 18:58:50 UTC
  • Revision ID: sbeattie@ubuntu.com-20141113185850-z4cyy6ypqo46ui76
utils: fix pyflakes issues with test-severity

The recent re-work of the severity.db tests were not verified to
pyflakes clean. All but one of pyflakes co are of marginal impact
(assigning to a variable that isn't later referenced); however, one
legitimate issue it detected is that I inadvertently created two test
cases with the same method name, so only one test case would actually
be used.

The following patch fixes the issues.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: Christian Boltz <apparmor@cboltz.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: