def getConfDef(self, name): ''' Get the defitition for a given Args: name (str): Name to get the definition of. Returns: dict: Dictionary containing the configuration definition for the given named option. Raises: NoSuchOpt: If the name is not a valid option. ''' cdef = self._conf_defs.get(name) if cdef is None: raise s_common.NoSuchOpt(name=name) return cdef
def getConfDef(self, name): cdef = self._conf_defs.get(name) if cdef is None: raise s_common.NoSuchOpt(name=name) return cdef