summaryrefslogtreecommitdiffstats
path: root/00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch
diff options
context:
space:
mode:
Diffstat (limited to '00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch')
-rw-r--r--00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch b/00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch
new file mode 100644
index 0000000..90af30d
--- /dev/null
+++ b/00188-fix-lib2to3-tests-when-hashlib-doesnt-compile-properly.patch
@@ -0,0 +1,11 @@
+diff -r 28c04e954bb6 Lib/lib2to3/main.py
+--- a/Lib/lib2to3/main.py Tue Oct 29 22:25:55 2013 -0400
++++ b/Lib/lib2to3/main.py Wed Nov 06 14:33:07 2013 +0100
+@@ -213,6 +213,7 @@
+
+ # Set up logging handler
+ level = logging.DEBUG if options.verbose else logging.INFO
++ logging.root.handlers = []
+ logging.basicConfig(format='%(name)s: %(message)s', level=level)
+ logger = logging.getLogger('lib2to3.main')
+