equal
deleted
inserted
replaced
237 pmid, rset = evaluator.evaluate_path(req, parts[:]) |
237 pmid, rset = evaluator.evaluate_path(req, parts[:]) |
238 except PathDontMatch: |
238 except PathDontMatch: |
239 continue |
239 continue |
240 else: |
240 else: |
241 try: |
241 try: |
242 action = self.vreg.select(actions, req, rset) |
242 action = self.vreg.select_best(actions, req, rset=rset) |
243 except RegistryException: |
243 except RegistryException: |
244 raise PathDontMatch() |
244 raise PathDontMatch() |
245 else: |
245 else: |
246 # XXX avoid redirect |
246 # XXX avoid redirect |
247 raise Redirect(action.url()) |
247 raise Redirect(action.url()) |