Skip to content

Commit

Permalink
erm, exception handling 3.x style
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Jul 13, 2014
1 parent 7012e01 commit 4d4b6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_limiter/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _inner(obj):
static_limits = [ExtLimit(
limit, func, _scope, per_method
) for limit in parse_many(limit_value)]
except ValueError,e:
except ValueError as e:
self.logger.error(
"failed to configure %s %s (%s)",
"view function" if is_route else "blueprint", name, e
Expand Down

0 comments on commit 4d4b6cf

Please sign in to comment.