Skip to content

Commit

Permalink
p3k exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
digi604 committed Feb 28, 2014
1 parent a770125 commit 97b0eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _handle_no_page(request, slug):
resolve('/%s//' % get_language())
else:
resolve('//')
except Resolver404, e:
except Resolver404 as e:
exc = Http404(dict(path=request.path, tried=e.args[0]['tried']))
raise exc

Expand Down

0 comments on commit 97b0eba

Please sign in to comment.