Skip to content

Commit d7cfc37

Browse files
authored
Merge pull request benoitc#2785 from mvdbeek/make_loggers_function_atomic
Make loggers function atomic
2 parents 027f04b + f186fa3 commit d7cfc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn/glogging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
def loggers():
9191
""" get list of all loggers """
9292
root = logging.root
93-
existing = root.manager.loggerDict.keys()
93+
existing = list(root.manager.loggerDict.keys())
9494
return [logging.getLogger(name) for name in existing]
9595

9696

0 commit comments

Comments
 (0)