author | Michael Ellerman <michael@ellerman.id.au> | |
Wed, 30 May 2007 04:47:08 +0000 (14:47 +1000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 8 Jun 2007 09:37:18 +0000 (02:37 -0700) | ||
commit | 709b148a907e68bfb57808de8f65b186cc9a5e21 | |
tree | 7dccac40775951ee4935f724d3efdd4d52651ca5 | tree | snapshot |
parent | a6080a0a44d5ead84db3dabbbc80e82df838533d | commit | diff |
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>
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 | diff | blob | history |