diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-09-03 16:04:36 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-09-03 16:04:36 (GMT) |
commit | 2500c9827886fb1826317877aacaef023707349e (patch) | |
tree | aff6de5013c99ba6b9435597e1602ad1b3569610 /Lib/logging | |
parent | 44ac3c5fe9b454b7316465162df8b651f23b9f75 (diff) | |
download | cpython-2500c9827886fb1826317877aacaef023707349e.zip cpython-2500c9827886fb1826317877aacaef023707349e.tar.gz cpython-2500c9827886fb1826317877aacaef023707349e.tar.bz2 |
Closes #27935: returned numeric value for 'FATAL' logging level.
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 0c5c2ec..2590d65 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -108,6 +108,7 @@ _levelToName = { } _nameToLevel = { 'CRITICAL': CRITICAL, + 'FATAL': FATAL, 'ERROR': ERROR, 'WARN': WARNING, 'WARNING': WARNING, |