summaryrefslogtreecommitdiff
path: root/doc/data/messages/l/logging-not-lazy/good.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/l/logging-not-lazy/good.py')
-rw-r--r--doc/data/messages/l/logging-not-lazy/good.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/data/messages/l/logging-not-lazy/good.py b/doc/data/messages/l/logging-not-lazy/good.py
index c61704872..ede0050cb 100644
--- a/doc/data/messages/l/logging-not-lazy/good.py
+++ b/doc/data/messages/l/logging-not-lazy/good.py
@@ -3,5 +3,5 @@ import logging
try:
function()
except Exception as e:
- logging.error('Error occurred: %s', e)
+ logging.error("Error occurred: %s", e)
raise