diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-25 12:37:07 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-25 12:37:07 +0000 |
| commit | 72482c7cf8a0ce15e05365822889422bd0b9d9a3 (patch) | |
| tree | 06b5ef7670d18c730b3699778615a637d633fc44 /repoze | |
| parent | 2520c6a5b6ac9a10e3eb53c7df9d00c932d040b8 (diff) | |
| download | pyramid-72482c7cf8a0ce15e05365822889422bd0b9d9a3.tar.gz pyramid-72482c7cf8a0ce15e05365822889422bd0b9d9a3.tar.bz2 pyramid-72482c7cf8a0ce15e05365822889422bd0b9d9a3.zip | |
Use attrs rather than setattr.
Diffstat (limited to 'repoze')
| -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 98be87cda..13da06266 100644 --- a/repoze/bfg/router.py +++ b/repoze/bfg/router.py @@ -83,7 +83,7 @@ class Router(object): environ['wsgiorg.routing_args'] = ((), match) environ['bfg.routes.route'] = route environ['bfg.routes.matchdict'] = match - request.matchdict = match + attrs['matchdict'] = match request_iface = registry.queryUtility( IRouteRequest, name=route.name, |
