#NEWLINE# def _process_scp_cmdline( self , kwargs ) : #NEWLINE# #INDENT# args = [ self . scp_program ] #NEWLINE# if ( 'r' not in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'r' ] = True #NEWLINE# #UNINDENT# if ( self . keyfile and ( 'i' not in kwargs ) ) : #NEWLINE# #INDENT# kwargs [ 'i' ] = self . keyfile #NEWLINE# #UNINDENT# if ( self . port and ( 'P' not in kwargs ) ) : #NEWLINE# #INDENT# kwargs [ 'P' ] = self . port #NEWLINE# #UNINDENT# args . extend ( self . _convert_kwargs_to_args ( kwargs ) ) #NEWLINE# if self . user : #NEWLINE# #INDENT# host = ( '%s@%s' % ( args . user , self . host ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# host = self . host #NEWLINE# #UNINDENT# return ( args , host )