mirror of https://github.com/python/cpython
Backout 265d369ad3b9.
This commit is contained in:
parent
7ec3e56bb8
commit
7b5d6adb28
|
@ -127,8 +127,7 @@ class build_py (Command):
|
|||
# Each pattern has to be converted to a platform-specific path
|
||||
filelist = glob(os.path.join(src_dir, convert_path(pattern)))
|
||||
# Files that match more than one pattern are only added once
|
||||
files.extend([fn for fn in filelist if fn not in files
|
||||
and os.path.isfile(fn)])
|
||||
files.extend([fn for fn in filelist if fn not in files])
|
||||
return files
|
||||
|
||||
def build_package_data(self):
|
||||
|
|
Loading…
Reference in New Issue