Blame SOURCES/Fix-for-Python-3.patch

6ae730
From 49180b3f5bb2e823bfa927a4b46a4ff0ef3730f0 Mon Sep 17 00:00:00 2001
6ae730
From: Michael Droettboom <mdboom@gmail.com>
6ae730
Date: Mon, 12 Oct 2015 20:03:57 -0400
6ae730
Subject: [PATCH 3/5] Fix for Python 3
6ae730
6ae730
Signed-off-by: John Kacur <jkacur@redhat.com>
6ae730
---
6ae730
 lib/matplotlib/font_manager.py | 2 +-
6ae730
 1 file changed, 1 insertion(+), 1 deletion(-)
6ae730
6ae730
diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py
6ae730
index a57e211509bb..8ee5cdc3fe80 100644
6ae730
--- a/lib/matplotlib/font_manager.py
6ae730
+++ b/lib/matplotlib/font_manager.py
6ae730
@@ -581,7 +581,7 @@ def createFontList(fontfiles, fontext='ttf'):
6ae730
                 continue
6ae730
             try:
6ae730
                 prop = ttfFontProperty(font)
6ae730
-            except KeyError, RuntimeError:
6ae730
+            except (KeyError, RuntimeError):
6ae730
                 continue
6ae730
 
6ae730
         fontlist.append(prop)
6ae730
-- 
6ae730
2.20.1
6ae730