(self, full_key)
return False
Test if a key is deprecated.
Test if a key is deprecated.
Test if a key is deprecated .
def key_is_deprecated(self, full_key):
        """Test if a key is deprecated."""
        if full_key in self.__dict__[CfgNode.DEPRECATED_KEYS]:
            logger.warning("Deprecated config key (ignoring): {}".format(full_key))
            return True
        return False
def key_is_deprecated ( self , full_key ) : if full_key in self . __dict__ [ CfgNode . DEPRECATED_KEYS ] : logger . warning ( "Deprecated config key (ignoring): {}" . format ( full_key ) ) return True return False