churchyard / rpms / python3

Forked from rpms/python3 6 years ago
Clone

Blame 00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch

0153564
diff -r 28c04e954bb6 Lib/lib2to3/main.py
0153564
--- a/Lib/lib2to3/main.py	Tue Oct 29 22:25:55 2013 -0400
0153564
+++ b/Lib/lib2to3/main.py	Wed Nov 06 14:33:07 2013 +0100
0153564
@@ -213,6 +213,7 @@
0153564
 
0153564
     # Set up logging handler
0153564
     level = logging.DEBUG if options.verbose else logging.INFO
0153564
+    logging.root.handlers = []
0153564
     logging.basicConfig(format='%(name)s: %(message)s', level=level)
0153564
     logger = logging.getLogger('lib2to3.main')
0153564