Skip to content

Commit

Permalink
remove unused CacheError
Browse files Browse the repository at this point in the history
  • Loading branch information
aidencullo authored and oz123 committed Dec 10, 2024
1 parent 8ffd983 commit 739b90c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pipenv/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 739b90c

Please sign in to comment.