[Python-checkins] r69324 - in python/trunk: Lib/distutils/dir_util.py Lib/distutils/file_util.py Lib/distutils/tests/test_dir_util.py Lib/distutils/tests/test_file_util.py Misc/NEWS

M.-A. Lemburg mal at egenix.com
Fri Feb 6 01:41:16 CET 2009


Hi Tarek,

On 2009-02-06 01:31, tarek.ziade wrote:
> Author: tarek.ziade
> Date: Fri Feb  6 01:31:59 2009
> New Revision: 69324
> 
> Log:
> Fixed #1276768: verbose option was not used in the code.
> 
> Modified: python/trunk/Lib/distutils/dir_util.py
> ==============================================================================
> --- python/trunk/Lib/distutils/dir_util.py	(original)
> +++ python/trunk/Lib/distutils/dir_util.py	Fri Feb  6 01:31:59 2009
> -        log.info("creating %s", head)
> +        if verbose == 1:
> +            log.info("creating %s", head)

You may want to use "if verbose >= 1:" for these. Setting verbose
to 2 would otherwise not cause the message to be written.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 06 2009)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Python-checkins mailing list