Skip to content

Commit

Permalink
Fix RecursionError for python version < 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jssuzanne committed Feb 2, 2018
1 parent 61e5c73 commit 31ff7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anyblok_pyramid/bloks/auth/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from anyblok.common import python_version

if python_version() >= (3, 5):
MainException = RecursionError
MainException = RecursionError # noqa
else:
MainException = RuntimeError

Expand Down

0 comments on commit 31ff7c8

Please sign in to comment.