aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-06-15 12:46:08 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-06-15 12:46:08 -0400
commit35e1b62fafef75e9ea9ff12b3953b61a8d197a87 (patch)
tree174d4681b64e81efd8d7aba52a18317491e95120
parent8ddfbc2a194b35a39427e18381b0f63d4323e9a0 (diff)
downloadexternal_python_setuptools-35e1b62fafef75e9ea9ff12b3953b61a8d197a87.tar.gz
external_python_setuptools-35e1b62fafef75e9ea9ff12b3953b61a8d197a87.tar.bz2
external_python_setuptools-35e1b62fafef75e9ea9ff12b3953b61a8d197a87.zip
necessary to explicitly invoke 'iter' in Python 2
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 1c2e0234..f7be0567 100755
--- a/setup.py
+++ b/setup.py
@@ -93,7 +93,7 @@ readme_file = io.open('README.txt', encoding='utf-8')
# The release script adds hyperlinks to issues,
# but if the release script has not run, fall back to the source file
changes_names = 'CHANGES (links).txt', 'CHANGES.txt'
-changes_fn = next(filter(os.path.exists, changes_names))
+changes_fn = next(iter(filter(os.path.exists, changes_names)))
changes_file = io.open(changes_fn, encoding='utf-8')
with readme_file: