post_process.redirect: Log exceptions as warnings
authorW. Trevor King <wking@tremily.us>
Sun, 28 Sep 2014 17:47:15 +0000 (10:47 -0700)
committerW. Trevor King <wking@tremily.us>
Sun, 28 Sep 2014 17:47:15 +0000 (10:47 -0700)
commit3d2b5055b53f50870d22c4273e413b4893af9480
treebbe908e5069468fd0401e1152d8547415c14182c
parentaffcb256ebcd3a740d17236e40db1f08a4cd9071
post_process.redirect: Log exceptions as warnings

When we hit an exception trying to unwind any redirects, just print
the exception and leave the link with its original value.

This commit also alphabetizes the standard library imports, and splits
off the local import following PEP 8's suggested groupings [1].

[1]: http://legacy.python.org/dev/peps/pep-0008/#imports

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/post_process/redirect.py