churchyard / rpms / python38

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