Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4189b67 commit 137b572Copy full SHA for 137b572
Doc/library/netrc.rst
@@ -28,6 +28,8 @@ the Unix :program:`ftp` program and other FTP clients.
28
This implements security behavior equivalent to that of ftp and other
29
programs that use :file:`.netrc`.
30
31
+ .. versionchanged:: 2.6.9 Added the POSIX permissions check.
32
+
33
34
.. exception:: NetrcParseError
35
Lib/netrc.py
@@ -88,7 +88,7 @@ def __init__(self, file=None):
88
try:
89
user = pwd.getpwuid(os.getuid())[0]
90
except KeyError:
91
- user = 'uid %s ' % os.getuid()
+ user = 'uid %s' % os.getuid()
92
raise NetrcParseError(
93
("~/.netrc file owner (%s) does not match"
94
" current user (%s)") % (fowner, user),
0 commit comments