mercurial/revlog.py
changeset 6700 9080f7031f69
parent 6647 602f7c1ab954
child 6703 bacfee67c1a9
--- a/mercurial/revlog.py	Wed Jun 18 09:13:39 2008 +0100
+++ b/mercurial/revlog.py	Wed Jun 18 12:48:04 2008 +0200
@@ -32,7 +32,7 @@
 class RevlogError(Exception):
     pass
 
-class LookupError(RevlogError):
+class LookupError(RevlogError, KeyError):
     def __init__(self, name, index, message):
         self.name = name
         if isinstance(name, str) and len(name) == 20: