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 | 7153802d8431966e2761c13ece5cee267dcb826b (patch) | |
| tree | 67df89908d469f39bf8ae80e28a3358498126b32 /setup.py | |
| parent | 4e11f3268eea3f883bfcc8494972570f95489c3f (diff) | |
| download | python-setuptools-bitbucket-7153802d8431966e2761c13ece5cee267dcb826b.tar.gz | |
necessary to explicitly invoke 'iter' in Python 2
Diffstat (limited to 'setup.py')
| -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: |
