#NEWLINE# def deletebranch( self , project_id , branch ) : #NEWLINE# #INDENT# 'Delete branch by name\n\n        :param project_id:  The ID of a project\n        :param branch: The name of the branch\n        :return: True if success, False if not\n        ' #NEWLINE# request = requests . delete ( '{0}/{1}/repository/branches/{2}' . format ( self . projects_url , project_id , branch ) , headers = self . headers , verify = self . verify_ssl , auth = self . auth , timeout = self . timeout ) #NEWLINE# if ( branch . status_code == 200 ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False