diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-10-10 09:39:21 +0100 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-10-10 09:39:21 +0100 |
| commit | ac3ba239c54965e464e6047fd872f02ca1c0cb99 (patch) | |
| tree | 34caf2b39ab801fe2cd7d6ce5280c75fe6f47ec5 /pkg_resources.py | |
| parent | fb8c7cf0abc9ce58b8a6f0621c0a9909fb9b8eff (diff) | |
| download | python-setuptools-git-ac3ba239c54965e464e6047fd872f02ca1c0cb99.tar.gz | |
Post-merge fixes for Python 3.
--HG--
branch : distribute
extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
Diffstat (limited to 'pkg_resources.py')
| -rw-r--r-- | pkg_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 9f4c55bc..b63e3f0f 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -2518,7 +2518,7 @@ class DistInfoDistribution(Distribution): # Including any condition expressions for req in self._parsed_pkg_info.get_all('Requires-Dist') or []: distvers, mark = self._preparse_requirement(req) - parsed = parse_requirements(distvers).next() + parsed = next(parse_requirements(distvers)) parsed.marker_fn = compile_marker(mark) reqs.append(parsed) |
