summaryrefslogtreecommitdiff
path: root/repoze/bfg/configuration.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-02-04 13:02:41 +0000
committerChris McDonough <chrism@agendaless.com>2010-02-04 13:02:41 +0000
commit98e0d06a77fef4cec0266510f2d02975ce56c405 (patch)
tree3e59622fe467bc2ac4019c95c956f8ed43ce892c /repoze/bfg/configuration.py
parentcb968d991b5466286aa3d53af20d405c3c48a17c (diff)
downloadpyramid-98e0d06a77fef4cec0266510f2d02975ce56c405.tar.gz
pyramid-98e0d06a77fef4cec0266510f2d02975ce56c405.tar.bz2
pyramid-98e0d06a77fef4cec0266510f2d02975ce56c405.zip
- 1.2b4 introduced a bug whereby views added via a route configuration
that named a view callable and also a ``view_attr`` became broken. Symptom: ``MyViewClass is not callable`` or the ``__call__`` of a class was being called instead of the method named via ``view_attr``.
Diffstat (limited to 'repoze/bfg/configuration.py')
-rw-r--r--repoze/bfg/configuration.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py
index 8a254bdec..025c6e048 100644
--- a/repoze/bfg/configuration.py
+++ b/repoze/bfg/configuration.py
@@ -1064,6 +1064,7 @@ class Configurator(object):
name='',
route_name=name,
renderer=view_renderer,
+ attr=view_attr,
_info=_info,
)