def _getConfig(self, options, host, prop):
        p = eval("options.%s" % prop)
        if p:
            return p
        try:
            return self.__config.get(host, prop)
        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
            return self.__config.get("global", prop)
Gets a value from config or options
dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/machine.py/MachinePlugin._getConfig