#NEWLINE# def clone_from_issue( self , match , ticket_url , path , jira ) : #NEWLINE# #INDENT# if ( not path ) : #NEWLINE# #INDENT# path = match . group ( 1 ) #NEWLINE# #UNINDENT# path = os . path . realpath ( path ) #NEWLINE# os . mkdir ( path ) #NEWLINE# folder = TicketFolder . initialize_ticket_folder ( ticket_url , path , match ) #NEWLINE# utils . run_command_method_with_kwargs ( 'pull' , folder = folder ) #NEWLINE# folder . log ( 'Issue %s cloned successfully to %s' , ( folder . issue_url , folder . path ) ) #NEWLINE# return folder