<s> class CommitDetail ( object ) : <EOL> def __init__ ( self , commit_hash , date , author , file_changes ) : <EOL> self . commit_hash = commit_hash <EOL> self . date = date <EOL> self . author = author <EOL> self . file_changes = file_changes <EOL> def __str__ ( self ) : <EOL> ret = "<STR_LIT>" % ( <EOL> self . commit_hash , <EOL> self . date , <EOL> self . author , <EOL> ) <EOL> ret += "<STR_LIT:\n>" <EOL> ret += "<STR_LIT:\n>" . join ( ( "<STR_LIT:U+0020>" + str ( ch ) ) for ch in self . file_changes ) <EOL> return ret <EOL> def __eq__ ( self , other ) : <EOL> return ( <EOL> self . commit_hash == other . commit_hash <EOL> and self . file_changes == other . file_changes <EOL> ) </s>
