diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-11 17:27:50 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-11 17:27:50 (GMT) |
commit | 0fbcf6945584b1b2a7564680de50c062fc4dce1c (patch) | |
tree | 44d27858990999b69379b50abc5ad163789db6fc /Lib/logging | |
parent | 32c2e41c82c2d0f967a0f435f88168583218f262 (diff) | |
download | cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.zip cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.gz cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.bz2 |
give the threading API PEP 8 names
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 2c84a6a..38bbae0 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -262,7 +262,7 @@ class LogRecord: self.relativeCreated = (self.created - _startTime) * 1000 if logThreads and thread: self.thread = thread.get_ident() - self.threadName = threading.currentThread().getName() + self.threadName = threading.current_thread().get_name() else: self.thread = None self.threadName = None |