Skip to content

Commit 28f5169

Browse files
committed
Clean config.py
1 parent 9d8343a commit 28f5169

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Lib/logging/config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,6 @@ def _install_loggers(cp, handlers, disable_existing):
287287
# logger.disabled = 1
288288
_handle_existing_loggers(existing, child_loggers, disable_existing)
289289

290-
def _clearExistingHandlers(handlers_to_clear=None):
291-
"""
292-
Remove and shutdown only the specified handlers.
293-
"""
294-
if not handlers_to_clear:
295-
return
296-
handlers_to_remove = []
297290

298291
def _clearExistingHandlers(handlers_to_clear=None):
299292
"""

0 commit comments

Comments
 (0)