Correct and simplify URLError exception handling
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 1 Jun 2021 15:31:39 +0000 (15:31 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 1 Jun 2021 15:31:39 +0000 (15:31 +0000)
commit847a98636e473189f36679c6b67e1878b3061a5e
tree99e3042c7b0aef467c880345de59162f286e045a
parent038e2d65a3127fe75c91de21ff3302b631b7edf4
Correct and simplify URLError exception handling

Julien Palard pointed out that the way URLError exceptions were
being manually cobbled into the stderr stream wasn't quite working
(thanks!), but it was also unnecessarily complicated for reasons I
don't recall now. Rip most of it out and just go with a basic
catch/error/re-raise there instead.
weather.py