Merge ~cjwatson/launchpad:more-warning-handler-info into launchpad:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 877a79a3e7efcc8c77b8decb54e5f849962f795b |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:more-warning-handler-info |
Merge into: | launchpad:master |
Diff against target: |
12 lines (+1/-1) 1 file modified
lib/lp/scripts/utilities/warninghandler.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+374682@code.launchpad.net |
Commit message
Fix incomplete messages from warning handler
The warning handler sometimes emitted messages like this (with local
paths shortened for brevity):
The method SimpleViewClass from .../lib/
The doctest <doctest xx-bug-
>>> browser.
This is clearly incomplete. With this change, we instead get:
The method SimpleViewClass from .../lib/
The doctest <doctest xx-bug-
>>> browser.
.../env/
return cgi.parse_
Description of the change
The previous messages were a bit "Shaka, when the walls fell".