diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-03-26 01:11:54 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-03-26 01:11:54 +0100 |
commit | 7b56365eeffe8f3f0743018f545f6901e07e7f0c (patch) | |
tree | 7d4ae01b1f0131e743516badc6e777b7437305fe /Lib/logging/handlers.py | |
parent | b66f6b5c73f6eda0d24bea66059da1fa7f651aa4 (diff) | |
download | cpython-7b56365eeffe8f3f0743018f545f6901e07e7f0c.tar.gz |
Issue #17516: use comment syntax for comments, instead of multiline string
Diffstat (limited to 'Lib/logging/handlers.py')
-rw-r--r-- | Lib/logging/handlers.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index 263acc947d..8e7bb1b6df 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -825,10 +825,9 @@ class SysLogHandler(logging.Handler): msg = self.ident + msg if self.append_nul: msg += '\000' - """ - We need to convert record level to lowercase, maybe this will - change in the future. - """ + + # We need to convert record level to lowercase, maybe this will + # change in the future. prio = '<%d>' % self.encodePriority(self.facility, self.mapPriority(record.levelname)) prio = prio.encode('utf-8') |