##// END OF EJS Templates
cleanup: remove couple overlooked lines
dan -
r98:350fd2ba default
parent child Browse files
Show More
@@ -69,7 +69,6 b' class JSRoutesMapper(Mapper):'
69 """
69 """
70 if kw.pop('jsroute', False):
70 if kw.pop('jsroute', False):
71 if not self._named_route_regex.match(args[0]):
71 if not self._named_route_regex.match(args[0]):
72 # import pdb;pdb.set_trace()
73 raise Exception('only named routes can be added to pyroutes')
72 raise Exception('only named routes can be added to pyroutes')
74 self._jsroutes.append(args[0])
73 self._jsroutes.append(args[0])
75
74
@@ -1139,7 +1138,6 b' def make_map(config):'
1139 conditions={'function': check_repo},
1138 conditions={'function': check_repo},
1140 requirements=URL_NAME_REQUIREMENTS)
1139 requirements=URL_NAME_REQUIREMENTS)
1141
1140
1142 rmap.jsroutes()
1143 return rmap
1141 return rmap
1144
1142
1145
1143
General Comments 0
You need to be logged in to leave comments. Login now