feed: Add herror to _SOCKET_ERRORS and remove reason handing
authorW. Trevor King <wking@tremily.us>
Thu, 21 Mar 2013 15:07:57 +0000 (11:07 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 21 Mar 2013 15:07:57 +0000 (11:07 -0400)
commit3f5df62f0cd20241d150d587595d26e9ae626184
tree1c035abb0e21d519e9acfbc36db3ad6ecccdea26
parentc39625e2fae6f1a98cb3b177fde2ebca279b607b
feed: Add herror to _SOCKET_ERRORS and remove reason handing

We don't log the reason, so trying to extract it just gives room for
errors to creep in.  Luckily, we'll be able to drop the whole
_SOCKET_ERRORS thing when we move to Python >= 3.3, because following
PEP 3151 the socket errors became subclasses of OSError.

Reported-by: Matt Bordignon <matthew@bordignons.net>
Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/feed.py