#NEWLINE# def addcommenttocommit( self , project_id , author , sha , path , line , note ) : #NEWLINE# #INDENT# 'Adds an inline comment to a specific commit\n        :param project_id project id\n        :param author The author info as returned by createmergerequest\n        :param sha The name of a repository branch or tag or if not given the default branch\n        :param path The file path\n        :param line The line number\n        :param note Text of comment\n        ' #NEWLINE# data = { #NEWLINE# #INDENT# 'author' : author , #NEWLINE# 'note' : note , #NEWLINE# 'path' : path , #NEWLINE# 'line' : line , #NEWLINE# 'line_type' : 'new' , #NEWLINE# #UNINDENT# } #NEWLINE# request = requests . post ( '{0}/{1}/repository/commits/{2}/comments' . format ( self . projects_url , project_id , sha ) , headers = self . headers , data = data , verify = self . verify_ssl ) #NEWLINE# if ( request . status_code == 201 ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False