projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
611850b
)
Added 'mkpath()' method: convenience wrapper around 'util.mkpath()' that adds
author
Greg Ward
<gward@python.net>
Wed, 1 Mar 2000 14:43:12 +0000
(14:43 +0000)
committer
Greg Ward
<gward@python.net>
Wed, 1 Mar 2000 14:43:12 +0000
(14:43 +0000)
the compiler objects 'verbose' and 'dry_run' flags.
Lib/distutils/ccompiler.py
patch
|
blob
|
history
diff --git
a/Lib/distutils/ccompiler.py
b/Lib/distutils/ccompiler.py
index 7d2d9f58b72df7a2a59f5778751a6ee5cec61f93..72b77573c6e2f8095b9bf683f4dcfb42f26cdd63 100644
(file)
--- a/
Lib/distutils/ccompiler.py
+++ b/
Lib/distutils/ccompiler.py
@@
-12,7
+12,7
@@
from types import *
from copy import copy
from distutils.errors import *
from distutils.spawn import spawn
-from distutils.util import move_file
+from distutils.util import move_file
, mkpath
class CCompiler:
@@
-453,6
+453,9
@@
class CCompiler:
def move_file (self, src, dst):
return move_file (src, dst, verbose=self.verbose, dry_run=self.dry_run)
+ def mkpath (self, name, mode=0777):
+ mkpath (name, mode, self.verbose, self.dry_run)
+
# class CCompiler