diff options
author | Georg Brandl <georg@python.org> | 2013-11-04 06:43:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-11-04 06:43:41 (GMT) |
commit | 7b5d6adb2853c92bacba92fe18652d8659148051 (patch) | |
tree | 8c9efaee3d54dcd4455d68031c5847cbd67610a6 | |
parent | 7ec3e56bb8923ed17614c2f37ca9c2020bdabac5 (diff) | |
download | cpython-7b5d6adb2853c92bacba92fe18652d8659148051.zip cpython-7b5d6adb2853c92bacba92fe18652d8659148051.tar.gz cpython-7b5d6adb2853c92bacba92fe18652d8659148051.tar.bz2 |
Backout 265d369ad3b9.
-rw-r--r-- | Lib/distutils/command/build_py.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index d48eb69..1371b3d 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): |