From 98e0d06a77fef4cec0266510f2d02975ce56c405 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 4 Feb 2010 13:02:41 +0000 Subject: - 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``. --- repoze/bfg/configuration.py | 1 + 1 file changed, 1 insertion(+) (limited to 'repoze/bfg/configuration.py') 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, ) -- cgit v1.2.3