Skip to content

Commit

Permalink
Merge branch 'master' into fix-bug-with-setuptools-and-vcs-1346
Browse files Browse the repository at this point in the history
  • Loading branch information
Asif Saif Uddin authored Mar 11, 2021
2 parents a0e416a + fe6dd97 commit d05be7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def dedup(iterable: Iterable[_T]) -> Iterable[_T]:
"""Deduplicate an iterable object like iter(set(iterable)) but
order-preserved.
"""
return iter(collections.OrderedDict.fromkeys(iterable))
return iter(dict.fromkeys(iterable))


def get_hashes_from_ireq(ireq: InstallRequirement) -> Set[str]:
Expand Down

0 comments on commit d05be7a

Please sign in to comment.