diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:09:21 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-18 18:09:21 (GMT) |
commit | 727537077043bb03a0c9e537cacbb9e695f7f4a8 (patch) | |
tree | 7f6062facaa5dda6a57383ffe1a7d7cd6a91f703 /Lib/logging | |
parent | c16a7f3684290ddda130811912ae08a098df3d74 (diff) | |
download | cpython-727537077043bb03a0c9e537cacbb9e695f7f4a8.zip cpython-727537077043bb03a0c9e537cacbb9e695f7f4a8.tar.gz cpython-727537077043bb03a0c9e537cacbb9e695f7f4a8.tar.bz2 |
Merged revisions 65824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65824 | benjamin.peterson | 2008-08-18 13:01:43 -0500 (Mon, 18 Aug 2008) | 1 line
change a few uses of the threading APIs
........
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 9727d4f..bd6c7f2 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -258,7 +258,7 @@ class LogRecord: self.relativeCreated = (self.created - _startTime) * 1000 if logThreads and thread: self.thread = thread.get_ident() - self.threadName = threading.current_thread().get_name() + self.threadName = threading.current_thread().name else: self.thread = None self.threadName = None |