mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Don't instantiate NotImplementedError
This commit is contained in:
parent
f9b66cacb3
commit
b7a4d70b25
|
@ -74,12 +74,12 @@ class DistAbstraction(object):
|
|||
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):
|
||||
|
|
Loading…
Reference in a new issue