portage.cache.cache_errors module

exception portage.cache.cache_errors.CacheCorruption(key, ex)

Bases: portage.cache.cache_errors.CacheError

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.CacheError

Bases: Exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.GeneralCacheCorruption(ex)

Bases: portage.cache.cache_errors.CacheError

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.InitializationError(class_name, error)

Bases: portage.cache.cache_errors.CacheError

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.InvalidRestriction(key, restriction, exception=None)

Bases: portage.cache.cache_errors.CacheError

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.ReadOnlyRestriction(info='')

Bases: portage.cache.cache_errors.CacheError

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portage.cache.cache_errors.StatCollision(key, filename, mtime, size)

Bases: portage.cache.cache_errors.CacheError

If the content of a cache entry changes and neither the file mtime nor size changes, it will prevent rsync from detecting changes. Cache backends may raise this exception from _setitem() if they detect this type of stat collision. See bug #139134.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.