summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-21 04:43:15 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-21 04:43:15 +0000
commit9078941af78c0fc7b885ad2779a4f8b73b3f1bd4 (patch)
tree93df275a15547d5e5296bb6d20af8855c95c43d4
parent3d11b48d840be203945ff86e46a36fd813008d27 (diff)
downloadportage-9078941af78c0fc7b885ad2779a4f8b73b3f1bd4.tar.gz
portage-9078941af78c0fc7b885ad2779a4f8b73b3f1bd4.tar.bz2
portage-9078941af78c0fc7b885ad2779a4f8b73b3f1bd4.zip
Fix typo.
svn path=/main/trunk/; revision=14112
-rw-r--r--pym/_emerge/JobStatusDisplay.py2
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()