diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-17 22:18:46 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-17 22:18:46 +0000 |
| commit | 8b2eabc4ac41a457cce51bb72ab04da4fd02a3be (patch) | |
| tree | 39dd80c53b6d50ecacb11f4aaa6df5c01ea4ee0f /repoze/bfg/router.py | |
| parent | cbfafba1514ce2ce2b87aadb0093c06210219372 (diff) | |
| download | pyramid-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.py | 2 |
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 |
