From 9078941af78c0fc7b885ad2779a4f8b73b3f1bd4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Aug 2009 04:43:15 +0000 Subject: [PATCH] Fix typo. svn path=/main/trunk/; revision=14112 --- pym/_emerge/JobStatusDisplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/JobStatusDisplay.py b/pym/_emerge/JobStatusDisplay.py index 9218a15ac..98724e8a7 100644 --- a/pym/_emerge/JobStatusDisplay.py +++ b/pym/_emerge/JobStatusDisplay.py @@ -71,7 +71,7 @@ class JobStatusDisplay(object): def _write(self, s): if sys.hexversion < 0x3000000 and isinstance(s, unicode): # avoid potential UnicodeEncodeError - s = s.encode(_encodings['stdio'], errors='backslashreplace') + s = s.encode(_encodings['stdio'], 'backslashreplace') self.out.write(s) self.out.flush() -- 2.26.2