parameters: (url)
docstring: Connect to a remote host and read the contents. Returns a list of lines.
docstring_summary: Connect to a remote host and read the contents. Returns a list of lines.
docstring_tokens: Connect to a remote host and read the contents . Returns a list of lines .
function: def ReadUrlContent(url):
    """Connect to a remote host and read the contents. Returns a list of lines."""
    conn = urllib.urlopen(url)
    try:
      return conn.readlines()
    except IOError as e:
      logging.exception('Error connecting to %s. Error: %s', url, e)
      raise
    finally:
      conn.close()
function_tokens: def ReadUrlContent ( url ) : conn = urllib . urlopen ( url ) try : return conn . readlines ( ) except IOError as e : logging . exception ( 'Error connecting to %s. Error: %s' , url , e ) raise finally : conn . close ( )