'Retrieve the hosts module specified by :attr:`mod_id` from a part
specified by :attr:`part_id` in the data file.
.. note:: This is a `classmethod`.
:param part_id: ID number of a specified part from the hosts data
file.
.. note:: ID number is usually an 8-bit control byte.
:type part_id: int
:param mod_id: ID number of a specified module from a specified part.
.. note:: ID number is usually an 8-bit control byte.
:type mod_id: int
.. seealso:: :attr:`make_cfg` in
:class:`~tui.curses_d.CursesDaemon` class.
:return: hosts, mod_name
* hosts(`list`): Hosts entries from a specified module.
* mod_name(`str`): Name of a specified module.
:rtype: list, str'

@classmethod
def get_host(cls, part_id, mod_id):

    if (part_id == 4):
        return (None, 'customize')
    cls._cur.execute('\n                                                SELECT    part_name    FROM    parts\n                                                WHERE    part_id=:part_id;\n                                ', (part_id,))
    part_name = cls._cur.fetchone()[0]
    cls._cur.execute(('\n                                                SELECT    ip,    host    FROM    %s\n                                                WHERE    cate=%s;\n                                ' % (part_name, mod_id)))
    hosts = cls._cur.fetchall()
    cls._cur.execute('\n                                                SELECT    mod_name    FROM    modules\n                                                WHERE    part_id=:part_id    AND    mod_id=:mod_id;\n                                ', (part_id, mod_id))
    mod_name = cls._cur.fetchone()[0]
    return (hosts, mod_name)
