@classmethod
def drop_section(cls, realm, key):
    """Drops config section by its key (name) and updates config.

        :param str|unicode realm:
        :param str|unicode key:

        """
    try:
        cfg = cls.load()
        del cfg[realm][key]
        cls.save(cfg)
    except KeyError:
        pass
