Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundlerepo.py @ 50032:562f7da122b5
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.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 30 Jan 2023 16:59:15 -0500 |
parents | 1bd33932713d |
children | 2a7e8471782c |
line wrap: on
line diff