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
+++ b/mercurial/revlog.py
@@ -52,7 +52,7 @@ def decompress(bin):
 
 indexformat = ">4l20s20s20s"
 
-class lazyparser:
+class lazyparser(object):
     """
     this class avoids the need to parse the entirety of large indices
 
@@ -94,7 +94,7 @@ class lazyparser:
             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 @@ class lazyindex:
     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 lazymap:
 
 class RevlogError(Exception): pass
 
-class revlog:
+class revlog(object):
     """
     the underlying revision storage object