[Python-checkins] cpython (3.2): Backout 265d369ad3b9.

georg.brandl python-checkins at python.org
Mon Nov 4 07:43:57 CET 2013


http://hg.python.org/cpython/rev/6432d6ce3d6b
changeset:   86912:6432d6ce3d6b
branch:      3.2
user:        Georg Brandl <georg at python.org>
date:        Mon Nov 04 07:43:41 2013 +0100
summary:
  Backout 265d369ad3b9.

files:
  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
--- a/Lib/distutils/command/build_py.py
+++ b/Lib/distutils/command/build_py.py
@@ -127,8 +127,7 @@
             # 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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list