Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7)

Unified Diff: Lib/logging/handlers.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/lib2to3/fixer_base.py ('k') | Lib/logging/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/logging/handlers.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/logging/handlers.py Mon Jul 25 09:47:18 2011 -0400
@@ -769,7 +769,6 @@
"""
return self.priority_map.get(levelName, "warning")
- ident = '' # prepended to all messages
append_nul = True # some old syslog daemons expect a NUL terminator
def emit(self, record):
@@ -780,8 +779,6 @@
exception information is present, it is NOT sent to the server.
"""
msg = self.format(record)
- if self.ident:
- msg = self.ident + msg
if self.append_nul:
msg += '\000'
"""
« no previous file with comments | « Lib/lib2to3/fixer_base.py ('k') | Lib/logging/__init__.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+