def configKey(self, key, val, fileName = "override", lineno = '<No line>'):
        try:
            option = self._cfg_def[key]
        except __HOLE__:
            if self._ignoreErrors:
                return
            raise ParseError("%s:%s: unknown config item '%s'" % (fileName,
                lineno, key))
        try:
            if self._keyLimiters and option.name not in self._keyLimiters:
                return
            value = self._cow(key)
            value.updateFromString(val, fileName, lineno)
        except ParseError, msg:
            if not self._ignoreErrors:
                raise ParseError, "%s:%s: %s for configuration item '%s'" \
                                                            % (fileName,
                                                               lineno, msg, key)
dataset/ETHPy150Open sassoftware/conary/conary/lib/cfg.py/ConfigFile.configKey