[issue1276768] dirutils.mkpath (verbose option does not work)
Tarek Ziadé
report at bugs.python.org
Fri Feb 6 00:40:04 CET 2009
Tarek Ziadé <ziade.tarek at gmail.com> added the comment:
I don't see the point of making mkpath and remove_tree more verbose than
what they are now.
log.info is called in both function and verbose is never used.
So I guess the best way to activate verbose is to make its default
value to 1 and change the code so log.info calls are made when verbose=1,
and are not made if verbose=0.
This way, the known verbosity is not changed and can be cut down if needed.
Now for create_tree, it will pass the verbose value to mkpath.
Last, copy_tree will act the same way and pass along verbose to copy_file.
----------
resolution: -> accepted
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1276768>
_______________________________________
More information about the Python-bugs-list
mailing list