]> granicus.if.org Git - python/commit
Guard shutil._make_archive against a logger=None argument.
authorÉric Araujo <merwok@netwok.org>
Fri, 19 Aug 2011 01:07:39 +0000 (03:07 +0200)
committerÉric Araujo <merwok@netwok.org>
Fri, 19 Aug 2011 01:07:39 +0000 (03:07 +0200)
commite7329f47e777d75a6602418f3198589828c35fce
treeff8e347615836328b741af06e8d5d3b2e783305f
parent99c4c340e6bb61966643c54b4ff3db832237203a
Guard shutil._make_archive against a logger=None argument.

Backporting two lines from the 3.x tests was enough to trigger the bug.
I also took the opportunity of making the logging call lazy.
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS