summaryrefslogtreecommitdiff
path: root/src/mailman/runners/command.py
diff options
context:
space:
mode:
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