def _read_buckets_cache_file(cache_file):
    '''
    Return the contents of the buckets cache file
    '''

    log.debug('Reading buckets cache file')

    with salt.utils.files.fopen(cache_file, 'rb') as fp_:
        data = pickle.load(fp_)

    return data
def _read_buckets_cache_file ( cache_file ) : log . debug ( 'Reading buckets cache file' ) with salt . utils . files . fopen ( cache_file , 'rb' ) as fp_ : data = pickle . load ( fp_ ) return data
Return the contents of the buckets cache file