#NEWLINE# def list_commits( self ) : #NEWLINE# #INDENT# s = '' #NEWLINE# for c in self . commits : #NEWLINE# #INDENT# s += ( '%s : %s : %s\n' % ( c [ 0 ] [ : 7 ] , c [ 2 ] , c [ 1 ] ) ) #NEWLINE# #UNINDENT# return s