cpython: 88e62c43e443 (original) (raw)
Mercurial > cpython
changeset 85750:88e62c43e443 2.7
Merge #14984: only import pwd on POSIX. [#14984]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Wed, 18 Sep 2013 08:50:11 -0400 |
parents | 041caa64486b(current diff)fb3ad8a749c8(diff) |
children | f27af2243e2a |
files | Lib/netrc.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-)[+] [-] Lib/netrc.py 4 |
line wrap: on
line diff
--- a/Lib/netrc.py +++ b/Lib/netrc.py @@ -2,7 +2,9 @@
Module and documentation by Eric S. Raymond, 21 Dec 1998
-import os, stat, shlex, pwd +import os, stat, shlex +if os.name == 'posix':