gitview: Use new-style classes
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 30 May 2007 04:47:08 +0000 (14:47 +1000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Jun 2007 09:37:18 +0000 (02:37 -0700)
commit709b148a907e68bfb57808de8f65b186cc9a5e21
tree7dccac40775951ee4935f724d3efdd4d52651ca5
parenta6080a0a44d5ead84db3dabbbc80e82df838533d
gitview: Use new-style classes

This changes the Commit class to use new-style class, which has
been available since Python 2.2 (Dec 2001).  This is a necessary
step in order to use __slots__[] declaration, so that we can
reduce the memory footprint in the next patch.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/gitview/gitview