]> granicus.if.org Git - python/commit
lib2to3 should install a logging handler only when run as a main program,
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 29 Mar 2008 12:42:54 +0000 (12:42 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 29 Mar 2008 12:42:54 +0000 (12:42 +0000)
commitbae17a8aa182a816f628234903b386978d6db40e
treea85139e42f4ceda38ee9b96b86d0a67ba2335a69
parent0069d85ba96669844d89d0b59e056e508d84616b
lib2to3 should install a logging handler only when run as a main program,
not when used as a library.

This may please the buildbots, which fail when test_lib2to3 is run before test_logging.
Lib/lib2to3/refactor.py