def append_host(host, pool):
 if ((not host) or (not pool)):
  return host
 new_host = '#'.join([host, pool])
 return new_host

def append_host ( host , pool ) : if ( ( not host ) or ( not pool ) ) : return host new_host = '#' . join ( [ host , pool ] ) return new_host
encode pool into host info .