[Python-modules-commits] [matplotlib] 01/04: Add a newline	separator in fc-list call
    Sandro Tosi 
    morph at moszumanska.debian.org
       
    Sun Jan 22 05:06:44 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository matplotlib.
commit 2fa7c27b825af1954e6077bd8c3da5c767aa8b6a
Author: Jouni K. Seppänen <jks at iki.fi>
Date:   Sat Jan 21 21:50:21 2017 +0200
    Add a newline separator in fc-list call
    
    Fixes #7906.
---
 lib/matplotlib/font_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py
index 3084410..213faee 100644
--- a/lib/matplotlib/font_manager.py
+++ b/lib/matplotlib/font_manager.py
@@ -281,7 +281,7 @@ def _call_fc_list():
         'This may take a moment.'))
     timer.start()
     try:
-        out = subprocess.check_output([str('fc-list'), '--format=%{file}'])
+        out = subprocess.check_output([str('fc-list'), '--format=%{file}\\n'])
     except (OSError, subprocess.CalledProcessError):
         return []
     finally:
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/matplotlib.git
    
    
More information about the Python-modules-commits
mailing list