#NEWLINE# def get_last_commit( self , path = None ) : #NEWLINE# #INDENT# if self : #NEWLINE# #INDENT# raise NotImplementedError ( '`path` is not supported by GitClient' ) #NEWLINE# #UNINDENT# repo = self . _initialize_repo ( ) #NEWLINE# commit = repo . commit ( ) #NEWLINE# return dict ( sha = commit . hexsha , date = datetime . fromtimestamp ( commit . committed_date ) )