aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/sdist.py')
-rwxr-xr-xsetuptools/command/sdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index 3442fe4b..499a3fb9 100755
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -178,7 +178,7 @@ class sdist(_sdist):
optional = ['test/test*.py', 'setup.cfg']
for pattern in optional:
- files = filter(os.path.isfile, glob(pattern))
+ files = list(filter(os.path.isfile, glob(pattern)))
if files:
self.filelist.extend(files)