Skip to content

Commit

Permalink
Don't instantiate NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jan 2, 2019
1 parent f9b66ca commit b7a4d70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pip/_internal/operations/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ def __init__(self, req):
def dist(self):
# type: () -> Any
"""Return a setuptools Dist object."""
raise NotImplementedError(self.dist)
raise NotImplementedError

def prep_for_dist(self, finder, build_isolation):
# type: (PackageFinder, bool) -> Any
"""Ensure that we can get a Dist for this requirement."""
raise NotImplementedError(self.dist)
raise NotImplementedError


class IsWheel(DistAbstraction):
Expand Down

0 comments on commit b7a4d70

Please sign in to comment.