diff options
-rw-r--r-- | pym/_emerge/JobStatusDisplay.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |