'Wrapper for `apt_pkg` module for running with Python 2.5'

@staticmethod
def _apt_cfg_file(filespec):

    try:
        result = apt_pkg.config.find_file(filespec)
    except AttributeError:
        result = apt_pkg.Config.FindFile(filespec)
    return result
