From 35e1b62fafef75e9ea9ff12b3953b61a8d197a87 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 15 Jun 2014 12:46:08 -0400 Subject: necessary to explicitly invoke 'iter' in Python 2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3