Commit 9e27eda3 authored by R David Murray's avatar R David Murray

#14984: only import pwd on POSIX.

parent 137b572d
......@@ -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':
import pwd
__all__ = ["netrc", "NetrcParseError"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment