From 7e4e72f01cf3354340bfacedba80a46f19edd7cc Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Thu, 20 Jun 2013 12:00:50 +0200 Subject: [PATCH] removed prints bzr revid: nicolas.vanhoren@openerp.com-20130620100050-nr3nh1b05ttt72ae --- addons/web/http.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/addons/web/http.py b/addons/web/http.py index 8809921bbda..83e1560501b 100644 --- a/addons/web/http.py +++ b/addons/web/http.py @@ -817,7 +817,6 @@ class Root(object): url = os.path.join(o._cp_path, url) if url.endswith("/") and len(url) > 1: url = url[: -1] - print "<<<<<<<<<<<<<<<< nodb", url routing_map.add(routing.Rule(url, endpoint=function)) if not db: @@ -843,7 +842,6 @@ class Root(object): url = os.path.join(o._cp_path, url) if url.endswith("/") and len(url) > 1: url = url[: -1] - print "<<<<<<<<<<<<<<<< db", url routing_map.add(routing.Rule(url, endpoint=function)) return routing_map @@ -867,11 +865,7 @@ class Root(object): """ path = request.httprequest.path urls = self.get_db_router(request.db).bind("") - try: - func, original = urls.match(path)[0] - except: - _logger.exception("Routing error for url %s" % path) - raise + func, original = urls.match(path)[0] request.func = func request.auth_method = getattr(original, "auth", "auth")