oops
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Jul 2009 10:36:25 +0200
changeset 2235 d5987f75c97c
parent 2234 1fbcf202882d
child 2293 7ded2a1416e4
oops
web/application.py
--- a/web/application.py	Thu Jul 02 10:35:03 2009 +0200
+++ b/web/application.py	Thu Jul 02 10:36:25 2009 +0200
@@ -276,8 +276,7 @@
     @obsolete("use vreg.select('controllers', ...)")
     def select_controller(self, oid, req):
         try:
-            controller = self.vreg.select('controllers', oid, req=req,
-                                          appli=self)
+            return self.vreg.select('controllers', oid, req=req, appli=self)
         except NoSelectableObject:
             raise Unauthorized(req._('not authorized'))