equal
deleted
inserted
replaced
287 except Exception: |
287 except Exception: |
288 self.exception('error while logging queries') |
288 self.exception('error while logging queries') |
289 finally: |
289 finally: |
290 self._logfile_lock.release() |
290 self._logfile_lock.release() |
291 |
291 |
292 @deprecated("use vreg.select('controllers', ...)") |
292 @deprecated("[3.4] use vreg['controllers'].select(...)") |
293 def select_controller(self, oid, req): |
293 def select_controller(self, oid, req): |
294 try: |
294 try: |
295 return self.vreg['controllers'].select(oid, req=req, appli=self) |
295 return self.vreg['controllers'].select(oid, req=req, appli=self) |
296 except NoSelectableObject: |
296 except NoSelectableObject: |
297 raise Unauthorized(req._('not authorized')) |
297 raise Unauthorized(req._('not authorized')) |