#NEWLINE# def run( self , project , build_num ) : #NEWLINE# #INDENT# '\n        ReRun a specific build in project.\n        ' #NEWLINE# path = ( 'project/%s/%s/retry' % ( project , build_num ) ) #NEWLINE# response = self . _perform_request ( path , method = 'POST' ) #NEWLINE# if ( response . status_code != httplib . CREATED ) : #NEWLINE# #INDENT# raise Exception ( ( 'Project %s not found.' % project ) ) #NEWLINE# #UNINDENT# return response . json ( )