diff options
| author | Barry Warsaw | 2009-08-17 20:46:43 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-08-17 20:46:43 -0400 |
| commit | e0693ed8106f80515f3ffddd92eb1ea9b77e38d3 (patch) | |
| tree | a9c32dd8ae7b308c613634eab5e489997a2ae325 /src/mailman/core/logging.py | |
| parent | 1fb7546e28eb94a3dcf82ff7fb37a85e4648cc1c (diff) | |
| download | mailman-e0693ed8106f80515f3ffddd92eb1ea9b77e38d3.tar.gz mailman-e0693ed8106f80515f3ffddd92eb1ea9b77e38d3.tar.zst mailman-e0693ed8106f80515f3ffddd92eb1ea9b77e38d3.zip | |
Diffstat (limited to 'src/mailman/core/logging.py')
| -rw-r--r-- | src/mailman/core/logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/core/logging.py b/src/mailman/core/logging.py index a18065965..b1aa9666e 100644 --- a/src/mailman/core/logging.py +++ b/src/mailman/core/logging.py @@ -78,6 +78,8 @@ class ReopenableFileHandler(logging.Handler): stream.write('{0}'.format(msg)) except UnicodeError: stream.write('{0}'.format(msg.encode('string-escape'))) + if msg[-1] != '\n': + stream.write('\n') self.flush() except: self.handleError(record) |
