#NEWLINE# def get_authors( repo ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# target = repo . head . target #NEWLINE# #UNINDENT# except GitError : #NEWLINE# #INDENT# return ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( commit . author for commit in repo . walk ( repo , GIT_SORT_NONE ) )