branch | stable |
changeset 5709 | 5606c01d68b2 |
parent 5516 | 232d13fc3e86 |
child 5710 | 1c17e47df974 |
--- a/req.py Thu Jun 10 10:15:26 2010 +0200 +++ b/req.py Thu Jun 10 12:53:21 2010 +0200 @@ -307,6 +307,8 @@ try: view = self.vreg[__registry].select(__vid, self, rset=rset, **initargs) except RegistryException: + if __fallback_oid is None: + raise view = self.vreg[__registry].select(__fallback_oid, self, rset=rset, **initargs) return view.render(w=w, **kwargs)