Skip to content
Browse files

fix bug with RouteGuarded escaping RouteGroup.match method

  • Loading branch information...
1 parent 2f9b75d commit 14aceba6a794f8e95b91b0bf7ddc934c571ad2cc @andreypopp committed
Showing with 8 additions and 0 deletions.
  1. +5 −0 CHANGES
  2. +3 −0 routr/__init__.py
View
5 CHANGES
@@ -1,3 +1,8 @@
+next release
+------------
+
+* [bugfix] fix bug with RouteGuarded poped up in RouteGroup match
+
0.1.5
-----
View
3 routr/__init__.py
@@ -287,6 +287,9 @@ def match(self, path_info, request):
except MethodNotAllowed, e:
guarded.append(RouteGuarded(e, e.response))
continue
+ except RouteGuarded, e:
+ guarded.append(e)
+ continue
except HTTPException, e:
guarded.append(RouteGuarded(e, e))
continue

0 comments on commit 14aceba

Please sign in to comment.
Something went wrong with that request. Please try again.