Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't explode if a file has been removed from the repo but remains re…

…ferenced in the search backend -- fixes
  • Loading branch information...
commit 148a9ccb95d1d09ab83990fd5443ad09c5ff0285 1 parent e899915
@ejucovy ejucovy authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 multireposearch/
6 multireposearch/
@@ -93,7 +93,11 @@ def get_search_results(self, req, query, filters):
if repo is None:
# @@TODO: log it? ask the search backend to remove the reference?
- node = repo.get_node(filename)
+ try:
+ node = repo.get_node(filename)
+ except NoSuchNode, e:
+ # @@TODO: log it!
+ continue
if node.kind == Node.DIRECTORY:
yield (self.env.href.browser(reponame, filename),
Please sign in to comment.
Something went wrong with that request. Please try again.