diff options
author | Mick Koch <mick@kochm.co> | 2019-10-28 19:16:13 -0400 |
---|---|---|
committer | Mick Koch <mick@kochm.co> | 2019-10-28 19:16:13 -0400 |
commit | e08ec2b640f6b2bf943fea70e2a7f9881bbe6e91 (patch) | |
tree | 3c1f4a0d16a83e7f92da408d0bfdd400295b6bdb /setuptools/command | |
parent | 4a31168e517134529c229b310e89039323fdb02f (diff) | |
download | external_python_setuptools-e08ec2b640f6b2bf943fea70e2a7f9881bbe6e91.tar.gz external_python_setuptools-e08ec2b640f6b2bf943fea70e2a7f9881bbe6e91.tar.bz2 external_python_setuptools-e08ec2b640f6b2bf943fea70e2a7f9881bbe6e91.zip |
Filter out missing files and use extend()
Diffstat (limited to 'setuptools/command')
-rw-r--r-- | setuptools/command/sdist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index 6043e0b9..55ecdd97 100644 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -226,6 +226,6 @@ class sdist(sdist_add_defaults, orig.sdist): log.warn( "warning: Failed to find the configured license file '%s'", f) - continue + files.remove(f) - self.filelist.append(f) + self.filelist.extend(files) |