Don't instantiate NotImplementedError

This commit is contained in:
Pradyun Gedam 2018-12-02 17:30:44 +05:30
parent f9b66cacb3
commit b7a4d70b25
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 2 additions and 2 deletions

View File

@ -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):