Filter out missing files and use extend()
This commit is contained in:
parent
4a31168e51
commit
e08ec2b640
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue