[Merge] ~toabctl/livecd-rootfs:hirsute-sru-lp-1946520 into livecd-rootfs:ubuntu/hirsute
Thomas Bechtold
mp+410822 at code.launchpad.net
Tue Oct 26 14:53:32 UTC 2021
Thomas Bechtold has proposed merging ~toabctl/livecd-rootfs:hirsute-sru-lp-1946520 into livecd-rootfs:ubuntu/hirsute.
Commit message:
Add debian/changelog entry
magic-proxy: fix exception handling for URLError LP:#1946520
A urllib.error.URLError.reason variable can either be a string or
another Exception[0]. In case it's another exception, the current code
fails because the exception is passed into send_error() which tries
call html.escape() on the Exception. That fails because the Exception
is not a string. Converting the Exception to a string fixes this.
This fixes:
AttributeError: 'TimeoutError' object has no attribute 'replace'
[0]
https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError.reason
(cherry picked from commit af888e24ff8ec478b490c6d0fc39131cd63a8079)
Requested reviews:
Ubuntu Core Development Team (ubuntu-core-dev)
For more details, see:
https://code.launchpad.net/~toabctl/livecd-rootfs/+git/livecd-rootfs-1/+merge/410822
--
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~toabctl/livecd-rootfs:hirsute-sru-lp-1946520 into livecd-rootfs:ubuntu/hirsute.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 1174 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20211026/ab28cf49/attachment.diff>
More information about the Ubuntu-reviews
mailing list