Merge #14984: only import pwd on POSIX.

This commit is contained in:
R David Murray 2013-09-18 08:53:26 -04:00
commit 58bf8d2a68
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
# Module and documentation by Eric S. Raymond, 21 Dec 1998
import io, os, shlex, stat, pwd
import os, shlex, stat
if os.name == 'posix':
import pwd
__all__ = ["netrc", "NetrcParseError"]