From d05b6c542583326e0a5dd307717b07ddd42338f4 Mon Sep 17 00:00:00 2001 From: Mond WAN Date: Fri, 14 Mar 2025 18:01:52 +0000 Subject: [PATCH] Fix typo in the getgrnam getgrnam is under grp module instead of pwd --- gunicorn/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/config.py b/gunicorn/config.py index 402a26b6..07c5aab3 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -1177,7 +1177,7 @@ class Group(Setting): Switch worker process to run as this group. A valid group id (as an integer) or the name of a user that can be - retrieved with a call to ``pwd.getgrnam(value)`` or ``None`` to not + retrieved with a call to ``grp.getgrnam(value)`` or ``None`` to not change the worker processes group. """