[Reproducible-commits] [diffoscope] 01/01: Use more portable LC_CTYPE suggestion

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Dec 2 15:09:02 UTC 2015


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

lunar pushed a commit to branch master
in repository diffoscope.

commit e8294ed5891d14cfcaa9fba24302787f86d6894b
Author: Ed Maste <emaste at freebsd.org>
Date:   Wed Dec 2 15:03:26 2015 +0000

    Use more portable LC_CTYPE suggestion
    
    Systems other than Debian may not have C.UTF-8.
---
 diffoscope/presenters/text.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/text.py b/diffoscope/presenters/text.py
index b74b329..a9202b2 100644
--- a/diffoscope/presenters/text.py
+++ b/diffoscope/presenters/text.py
@@ -52,5 +52,5 @@ def output_text(difference, print_func):
         print_difference(difference, print_func)
         print_details(difference, print_func)
     except UnicodeEncodeError:
-        logger.critical('Console is unable to print Unicode characters. Set LC_CTYPE=C.UTF-8')
+        logger.critical('Console is unable to print Unicode characters. Set e.g. LC_CTYPE=en_US.UTF-8')
         sys.exit(2)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list