Merge lp:~jml/launchpad/show-warnings-once into lp:launchpad
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Merged at revision: | 11308 |
Proposed branch: | lp:~jml/launchpad/show-warnings-once |
Merge into: | lp:launchpad |
Diff against target: |
32 lines (+6/-3) 1 file modified
lib/lp/scripts/utilities/warninghandler.py (+6/-3) |
To merge this branch: | bzr merge lp:~jml/launchpad/show-warnings-once |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Approve | |
Review via email: mp+31831@code.launchpad.net |
Commit message
Only show warnings once at the end of a test run.
Description of the change
It turns out that we blat all over Python's normal warning filtering and show every instance of every warning. This sucks *and* blows at the same time, so I've cobbled together a crappy little hack to fix it.
It's pretty hard to verify that this hack works, so I'm running the branch through ec2 test now.
To post a comment you must log in.
If it works, rs=me