summaryrefslogtreecommitdiff
path: root/repoze/bfg/router.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-17 22:18:46 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-17 22:18:46 +0000
commit8b2eabc4ac41a457cce51bb72ab04da4fd02a3be (patch)
tree39dd80c53b6d50ecacb11f4aaa6df5c01ea4ee0f /repoze/bfg/router.py
parentcbfafba1514ce2ce2b87aadb0093c06210219372 (diff)
downloadpyramid-8b2eabc4ac41a457cce51bb72ab04da4fd02a3be.tar.gz
pyramid-8b2eabc4ac41a457cce51bb72ab04da4fd02a3be.tar.bz2
pyramid-8b2eabc4ac41a457cce51bb72ab04da4fd02a3be.zip
If match is not None.
Muck around with Configurator constructor.
Diffstat (limited to 'repoze/bfg/router.py')
-rw-r--r--repoze/bfg/router.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoze/bfg/router.py b/repoze/bfg/router.py
index 6b1502d22..e815d7ab6 100644
--- a/repoze/bfg/router.py
+++ b/repoze/bfg/router.py
@@ -79,7 +79,7 @@ class Router(object):
if self.routes_mapper is not None:
info = self.routes_mapper(request)
match, route = info['match'], info['route']
- if match:
+ if match is not None:
environ['wsgiorg.routing_args'] = ((), match)
environ['bfg.routes.route'] = route
environ['bfg.routes.matchdict'] = match