diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-06-15 12:46:08 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-06-15 12:46:08 -0400 |
commit | 35e1b62fafef75e9ea9ff12b3953b61a8d197a87 (patch) | |
tree | 174d4681b64e81efd8d7aba52a18317491e95120 | |
parent | 8ddfbc2a194b35a39427e18381b0f63d4323e9a0 (diff) | |
download | external_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-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |