[Pkg-debile-commits] [debile-slave] 57/100: ignore utf errors. feh

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:08 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository debile-slave.

commit 91ae4d202bbac3b7d8f01bded28378125831c6e8
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jun 2 12:38:01 2013 -0400

    ignore utf errors. feh
---
 ethel/utils.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ethel/utils.py b/ethel/utils.py
index 4ebb621..04f0333 100644
--- a/ethel/utils.py
+++ b/ethel/utils.py
@@ -44,7 +44,8 @@ def run_command(command, stdin=None):
         kwargs['input'] = stdin.read()
 
     (output, stderr) = pipe.communicate(**kwargs)
-    output, stderr = (c.decode('utf-8') for c in (output, stderr))
+    output, stderr = (c.decode('utf-8',
+                               errors='ignore') for c in (output, stderr))
     return (output, stderr, pipe.returncode)
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list