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