Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ lib/ python2.7/ site-packages/ pynag/ Parsers/

//lib/python2.7/site-packages/pynag/Parsers/object_cache.py

# -*- coding: utf-8 -*-
"""Module for parsing and filtering object_cache files."""

from __future__ import absolute_import
from pynag.Parsers import config_parser


class ObjectCache(config_parser.Config):

    """ Loads the configuration as it appears in objects.cache file """

    def get_cfg_files(self):
        for k, v in self.maincfg_values:
            if k == 'object_cache_file':
                return [v]