diff options
Diffstat (limited to 'Modules/pwdmodule.c')
-rw-r--r-- | Modules/pwdmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index 1e0903a..d1045af 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c @@ -160,12 +160,8 @@ pwd_getpwall(PyObject *self) struct passwd *p; if ((d = PyList_New(0)) == NULL) return NULL; -#if defined(PYOS_OS2) && defined(PYCC_GCC) - if ((p = getpwuid(0)) != NULL) { -#else setpwent(); while ((p = getpwent()) != NULL) { -#endif PyObject *v = mkpwent(p); if (v == NULL || PyList_Append(d, v) != 0) { Py_XDECREF(v); |