[issue11045] shutil._make_tarball

Éric Araujo report at bugs.python.org
Sat Jan 29 20:37:19 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

I’ve checked the code and this is the only place where logger.* is not protected by a check for None.  There is no unit test, though.

My patch adds two things: Make one formatting call lazy (use logging.info(one, two) instead of one % two), lower-case one message for consistent output).  If we want to be ultra-conservative, Kelsey’s patch is to be preferred.

----------
nosy: +georg.brandl
Added file: http://bugs.python.org/file20610/fix-11045.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11045>
_______________________________________


More information about the Python-bugs-list mailing list