def clean_node(node):
 (host, port) = partition_node(node)
 return (host.lower(), port)

def clean_node ( node ) : ( host , port ) = partition_node ( node ) return ( host . lower ( ) , port )
split and normalize a node name from an ismaster response .