Skip to content

Commit c4b7722

Browse files
committed
fix: remove unused global causing flake8 complaint
1 parent e3defba commit c4b7722

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

json_logging/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def config_root_logger():
6161
if ENABLE_JSON_LOGGING:
6262
ENABLE_JSON_LOGGING_DEBUG and _logger.debug("Update root logger to using JSONLogFormatter")
6363

64-
global _default_formatter
6564
util.update_formatter_for_loggers([logging.root], _default_formatter)
6665

6766

0 commit comments

Comments
 (0)