From accc4f4518ed6d204f3dea4579a3747f66e6999b Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 21 Aug 2011 00:02:24 -0500 Subject: Updated routematch debugging to show the text description for predicates. --- pyramid/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/router.py b/pyramid/router.py index 248ab3b5b..746cf88cf 100644 --- a/pyramid/router.py +++ b/pyramid/router.py @@ -95,7 +95,7 @@ class Router(object): route.name, request.path_info, route.pattern, match, - route.predicates) + ', '.join([p.__text__ for p in route.predicates])) ) logger and logger.debug(msg) -- cgit v1.2.3