summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2016-09-03 16:04:36 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2016-09-03 16:04:36 (GMT)
commit2500c9827886fb1826317877aacaef023707349e (patch)
treeaff6de5013c99ba6b9435597e1602ad1b3569610 /Lib/logging
parent44ac3c5fe9b454b7316465162df8b651f23b9f75 (diff)
downloadcpython-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__.py1
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,