requirements: Upgrade pyflakes to 2.0.0.

We fix a few errors that only the new version finds.
This commit is contained in:
Vishnu Ks
2018-05-24 14:41:34 +00:00
committed by Tim Abbott
parent 1ef994c992
commit 54a002c2e2
13 changed files with 13 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ def catch_stripe_errors(func: CallableT) -> CallableT:
raise StripeError(
_("Something went wrong. Please try again or email us at %s.")
% (settings.ZULIP_ADMINISTRATOR,))
except Exception as e:
except Exception:
billing_logger.exception("Uncaught error in Stripe integration")
raise
return wrapped # type: ignore # https://github.com/python/mypy/issues/1927