Fix piptools patch typo

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
Dan Ryan
2020-05-27 19:49:56 -04:00
parent df0eabf0a4
commit 3acad96afd
3 changed files with 2 additions and 4 deletions
-2
View File
@@ -264,8 +264,6 @@ class Lockfile(object):
"""Produces a generator which generates requirements from the desired section.
:param bool dev: Indicates whether to use dev requirements, defaults to False
:param bool only: When dev is True, indicates whether to use *only* dev
requirements, defaults to False
:return: Requirements from the relevant the relevant pipfile
:rtype: :class:`~requirementslib.models.requirements.Requirement`
"""
+1 -1
View File
@@ -36,7 +36,7 @@ from .misc import (
from .path import create_tracked_tempdir, create_tracked_tempfile, mkdir_p, rmtree
from .spin import create_spinner
__version__ = "0.5.1"
__version__ = "0.5.2"
__all__ = [
@@ -510,7 +510,7 @@ index ef5ba4e..b96acf6 100644
+ map(lambda c: self._hash_cache.get_hash(c.link), matching_candidates)
+ if h is not None
+ }
+ return result
+ return result
- # Iterate over the chosen context manager
- with context_manager as bar: