def _connect(host=DEFAULT_HOST, port=DEFAULT_PORT):
    '''
    Returns a tuple of (user, host, port) with config, pillar, or default
    values assigned to missing values.
    '''
    if six.text_type(port).isdigit():
        return memcache.Client(['{0}:{1}'.format(host, port)], debug=0)
    raise SaltInvocationError('port must be an integer')
def _connect ( host = DEFAULT_HOST , port = DEFAULT_PORT ) : if six . text_type ( port ) . isdigit ( ) : return memcache . Client ( [ '{0}:{1}' . format ( host , port ) ] , debug = 0 ) raise SaltInvocationError ( 'port must be an integer' )
Returns a tuple of (user, host, port) with config, pillar, or default
    values assigned to missing values.