#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index bb21061..f51d72f 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -240,8 +240,7 @@
         optional = ['test/test*.py', 'setup.cfg']
         for pattern in optional:
             files = filter(os.path.isfile, glob(pattern))
-            if files:
-                self.filelist.extend(files)
+            self.filelist.extend(files)
 
         # build_py is used to get:
         #  - python modules