Fix typo.
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Aug 2009 04:43:15 +0000 (04:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Aug 2009 04:43:15 +0000 (04:43 -0000)
svn path=/main/trunk/; revision=14112

pym/_emerge/JobStatusDisplay.py

index 9218a15acae66b43443f0f496547ab5c8e46813c..98724e8a7bb5dcd1a87ea5302fbb6df9bcf87ee5 100644 (file)
@@ -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()