summaryrefslogtreecommitdiff
path: root/src/mailman/runners/command.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-13 10:55:57 -0500
committerBarry Warsaw2014-12-13 10:55:57 -0500
commit03731dd2d3aac0c9610c3b17d28f6821343fc8ed (patch)
tree4b977f3225d355ec42daf312b93b7ab407c827ee /src/mailman/runners/command.py
parente3e8b9215abb85b44fce001311332c2f7772e4bd (diff)
downloadmailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.tar.gz
mailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.tar.zst
mailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.zip
Diffstat (limited to 'src/mailman/runners/command.py')
-rw-r--r--src/mailman/runners/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/runners/command.py b/src/mailman/runners/command.py
index 54ab03687..f6884de5f 100644
--- a/src/mailman/runners/command.py
+++ b/src/mailman/runners/command.py
@@ -141,7 +141,7 @@ The results of your email command are provided below.
text = text.decode(self.charset, 'ignore')
self._output.write(text)
- def __unicode__(self):
+ def __str__(self):
value = self._output.getvalue()
assert isinstance(value, six.text_type), 'Not a unicode: %r' % value
return value