From: Georg Brandl Date: Mon, 4 Nov 2013 06:43:41 +0000 (+0100) Subject: Backout 265d369ad3b9. X-Git-Tag: v3.3.4rc1~71^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b5d6adb2853c92bacba92fe18652d8659148051;p=python Backout 265d369ad3b9. --- diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index d48eb69900..1371b3d6ff 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -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):