diff --git a/pipenv/exceptions.py b/pipenv/exceptions.py index 04f44aec8..80f14c5ab 100644 --- a/pipenv/exceptions.py +++ b/pipenv/exceptions.py @@ -293,16 +293,6 @@ def __init__(self, package, **kwargs): PipenvException.__init__(self, message=message, extra=extra, **kwargs) -class CacheError(PipenvException): - def __init__(self, path, **kwargs): - message = "{} {}\n{}".format( - click.style("Corrupt cache file", fg="cyan"), - click.style(f"{path!s}", fg="reset", bg="reset"), - click.style('Consider trying "pipenv lock --clear" to clear the cache.'), - ) - PipenvException.__init__(self, message=message) - - class DependencyConflict(PipenvException): def __init__(self, message): extra = [