refix find_requirement docstring

This commit is contained in:
Xavier Fernandez 2015-03-10 23:41:04 +01:00
parent 9d0fcf7ef5
commit b7cfcb0a43
1 changed files with 5 additions and 3 deletions

View File

@ -408,9 +408,11 @@ class PackageFinder(object):
)
def find_requirement(self, req, upgrade):
"""Expects req, an InstallRequirement and upgrade, a boolean
Returns an InstallationCandidate or None
May raise DistributionNotFound or BestVersionAlreadyInstalled"""
"""Try to find an InstallationCandidate for req
Expects req, an InstallRequirement and upgrade, a boolean
Returns an InstallationCandidate or None
May raise DistributionNotFound or BestVersionAlreadyInstalled"""
all_versions = self._find_all_versions(req)
if not all_versions:
logger.critical(