def __init__(self, mapper, package_mapper): self.package_mapper = package_mapper cache = rhnCache.Cache() cache = rhnCache.ObjectCache(cache) self.cache = rhnCache.NullCache(cache) self.mapper = mapper
def __init__(self, mapper): cache = rhnCache.Cache() # For more speed, we won't compress. # cache = rhnCache.CompressedCache(cache) cache = rhnCache.ObjectCache(cache) self.cache = rhnCache.NullCache(cache) self.mapper = mapper