[Python-checkins] r67692 - in python/trunk: Lib/distutils/ccompiler.py Misc/NEWS

amaury.forgeotdarc python-checkins at python.org
Thu Dec 11 01:03:42 CET 2008


Author: amaury.forgeotdarc
Date: Thu Dec 11 01:03:42 2008
New Revision: 67692

Log:
#1030250: correctly pass the dry_run option to the mkpath() function.


Modified:
   python/trunk/Lib/distutils/ccompiler.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/distutils/ccompiler.py
==============================================================================
--- python/trunk/Lib/distutils/ccompiler.py	(original)
+++ python/trunk/Lib/distutils/ccompiler.py	Thu Dec 11 01:03:42 2008
@@ -1041,7 +1041,7 @@
         return move_file (src, dst, dry_run=self.dry_run)
 
     def mkpath (self, name, mode=0777):
-        mkpath (name, mode, self.dry_run)
+        mkpath (name, mode, dry_run=self.dry_run)
 
 
 # class CCompiler

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Dec 11 01:03:42 2008
@@ -74,6 +74,9 @@
 Library
 -------
 
+- Issue #1030250: Distutils created directories even when run with the
+  --dry-run option.
+
 - Issue #4483: _dbm module now builds on systems with gdbm & gdbm_compat
   libs.
 


More information about the Python-checkins mailing list