Skip to content
Snippets Groups Projects
Commit 562f7da1 authored by Matt Harbison's avatar Matt Harbison
Browse files

bundlerepo: raise `error.LookupError` instead of `LookupError`

I'm pretty sure that this was the intention, given `error.LookupError` is raised
a few lines above with the same arguments.

Note that PyCharm complains about `self.display_id` (and the use above this too)
being `() -> Any` instead of `bytes`, but it may be confused about the
`util.propertycache` annotation on it.
parent 90f047ed
No related branches found
No related tags found
2 merge requests!485branching: merge default into stable,!413unionrepo/bundle repo fixes
......@@ -88,7 +88,7 @@
)
if not self.index.has_node(deltabase):
raise LookupError(
raise error.LookupError(
deltabase, self.display_id, _(b'unknown delta base')
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment