Backout 265d369ad3b9.

This commit is contained in:
Georg Brandl 2013-11-04 07:43:41 +01:00
parent 7ec3e56bb8
commit 7b5d6adb28
1 changed files with 1 additions and 2 deletions

View File

@ -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):