# HG changeset patch # User Daniel Dourvaris # Date 2016-06-03 17:58:50 # Node ID 350fd2ba334b5ccee6a602f969b2a7f6e2f4521d # Parent 772dc32bea8759b682104dae6d03f2600cb8f8fa cleanup: remove couple overlooked lines diff --git a/rhodecode/config/routing.py b/rhodecode/config/routing.py --- 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