[Pkg-privacy-commits] [tails-installer] 07/24: Decode our errors to utf-8

anonym anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:14:46 UTC 2017


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

anonym-tails-guest pushed a commit to annotated tag 3.12.1
in repository tails-installer.

commit 1d2232b1ec85facdad90ac2d3ca81c7f5e331d2b
Author: Luke Macken <lmacken at redhat.com>
Date:   Fri Oct 18 12:44:43 2013 -0600

    Decode our errors to utf-8
---
 liveusb/creator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index 73cd071..c3e8cb3 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -201,7 +201,7 @@ class LiveUSBCreator(object):
                 raise LiveUSBError(_("There was a problem executing the "
                                      "following command: `%s`\n%s\nA more detailed "
                                      "error log has been written to "
-                                     "'%s'" % (cmd, err, filename)))
+                                     "'%s'" % (cmd, err.decode('utf-8', errors='replace'), filename)))
         return proc
 
     def verify_iso_sha1(self, progress=None):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list