2222__all__  =  ('ObjectDBR' , 'ObjectDBW' , 'FileDBBase' , 'CompoundDB' , 'CachingDB' )
2323
2424
25- class  ObjectDBR ( object ) :
25+ class  ObjectDBR :
2626
2727    """Defines an interface for object database lookup. 
2828    Objects are identified either by their 20 byte bin sha""" 
@@ -63,7 +63,7 @@ def sha_iter(self):
6363    #} END query interface 
6464
6565
66- class  ObjectDBW ( object ) :
66+ class  ObjectDBW :
6767
6868    """Defines an interface to create objects in the database""" 
6969
@@ -105,7 +105,7 @@ def store(self, istream):
105105    #} END edit interface 
106106
107107
108- class  FileDBBase ( object ) :
108+ class  FileDBBase :
109109
110110    """Provides basic facilities to retrieve files of interest, including 
111111    caching facilities to help mapping hexsha's to objects""" 
@@ -117,7 +117,7 @@ def __init__(self, root_path):
117117        **Note:** The base will not perform any accessablity checking as the base 
118118            might not yet be accessible, but become accessible before the first 
119119            access.""" 
120-         super (FileDBBase ,  self ).__init__ ()
120+         super ().__init__ ()
121121        self ._root_path  =  root_path 
122122
123123    #{ Interface 
@@ -133,7 +133,7 @@ def db_path(self, rela_path):
133133    #} END interface 
134134
135135
136- class  CachingDB ( object ) :
136+ class  CachingDB :
137137
138138    """A database which uses caches to speed-up access""" 
139139
@@ -176,7 +176,7 @@ def _set_cache_(self, attr):
176176        elif  attr  ==  '_db_cache' :
177177            self ._db_cache  =  dict ()
178178        else :
179-             super (CompoundDB ,  self )._set_cache_ (attr )
179+             super ()._set_cache_ (attr )
180180
181181    def  _db_query (self , sha ):
182182        """:return: database containing the given 20 byte sha 
0 commit comments