Your IP : 216.73.216.25


Current Path : /lib/python2.7/site-packages/pynag/Parsers/
Upload File :
Current File : //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]