summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-17 22:13:10 -0500
committerBarry Warsaw2014-12-17 22:13:10 -0500
commit9beb81b9754ee9b3dbe892b3aaea3ed73cbd2468 (patch)
treed9fe7387ef18e4a06fbfe4aa16e9991ad86a35e3 /src
parent0274a755a4657bbec652fec29bd868a632eb6c07 (diff)
downloadmailman-9beb81b9754ee9b3dbe892b3aaea3ed73cbd2468.tar.gz
mailman-9beb81b9754ee9b3dbe892b3aaea3ed73cbd2468.tar.zst
mailman-9beb81b9754ee9b3dbe892b3aaea3ed73cbd2468.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/archiving/mhonarc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/archiving/mhonarc.py b/src/mailman/archiving/mhonarc.py
index 1f9102f19..47113108b 100644
--- a/src/mailman/archiving/mhonarc.py
+++ b/src/mailman/archiving/mhonarc.py
@@ -81,7 +81,7 @@ class MHonArc:
command = expand(self.command, substitutions)
proc = subprocess.Popen(
command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
- shell=True)
+ universal_newlines=True, shell=True)
stdout, stderr = proc.communicate(msg.as_string())
if proc.returncode != 0:
log.error('%s: mhonarc subprocess had non-zero exit code: %s' %