summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/RepoDisplay.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/RepoDisplay.py')
-rw-r--r--pym/_emerge/RepoDisplay.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/RepoDisplay.py b/pym/_emerge/RepoDisplay.py
index a954aebfa..e98be93c4 100644
--- a/pym/_emerge/RepoDisplay.py
+++ b/pym/_emerge/RepoDisplay.py
@@ -48,6 +48,10 @@ class RepoDisplay(object):
return s
def __str__(self):
+ """
+ In python-2.x, str() can trigger a UnicodeEncodeError here,
+ so call __str__() directly.
+ """
output = []
shown_repos = self._shown_repos
unknown_repo = self._unknown_repo