Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 1559:59b3639df0a9
Convert all classes to new-style classes by deriving them from object.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Fri, 18 Nov 2005 22:48:47 -0800 |
parents | e793cbc8be00 |
children | 14d1f1868bf6 11d12bd6e1dc |
line wrap: on
line diff
--- a/mercurial/revlog.py Thu Nov 17 19:38:57 2005 +0100 +++ b/mercurial/revlog.py Fri Nov 18 22:48:47 2005 -0800 @@ -52,7 +52,7 @@ indexformat = ">4l20s20s20s" -class lazyparser: +class lazyparser(object): """ this class avoids the need to parse the entirety of large indices @@ -94,7 +94,7 @@ self.map[e[6]] = i i += 1 -class lazyindex: +class lazyindex(object): """a lazy version of the index array""" def __init__(self, parser): self.p = parser @@ -114,7 +114,7 @@ def trunc(self, pos): self.p.trunc(pos) -class lazymap: +class lazymap(object): """a lazy version of the node map""" def __init__(self, parser): self.p = parser @@ -152,7 +152,7 @@ class RevlogError(Exception): pass -class revlog: +class revlog(object): """ the underlying revision storage object