From 4b1d4ec44b013076a2f879c9840bc5a964933bf6 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Fri, 3 Jun 2016 20:58:50 +0300 Subject: [PATCH] cleanup: remove couple overlooked lines --- rhodecode/config/routing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rhodecode/config/routing.py b/rhodecode/config/routing.py index f93ea466..7b496f2f 100644 --- a/rhodecode/config/routing.py +++ b/rhodecode/config/routing.py @@ -69,7 +69,6 @@ class JSRoutesMapper(Mapper): """ if kw.pop('jsroute', False): if not self._named_route_regex.match(args[0]): - # import pdb;pdb.set_trace() raise Exception('only named routes can be added to pyroutes') self._jsroutes.append(args[0]) @@ -1139,7 +1138,6 @@ def make_map(config): conditions={'function': check_repo}, requirements=URL_NAME_REQUIREMENTS) - rmap.jsroutes() return rmap