Commit 137b572d authored by R David Murray's avatar R David Murray

Add versionchanged for #14984, remove extra blank from string.

parent 4189b67a
......@@ -28,6 +28,8 @@ the Unix :program:`ftp` program and other FTP clients.
This implements security behavior equivalent to that of ftp and other
programs that use :file:`.netrc`.
.. versionchanged:: 2.6.9 Added the POSIX permissions check.
.. exception:: NetrcParseError
......
......@@ -88,7 +88,7 @@ class netrc:
try:
user = pwd.getpwuid(os.getuid())[0]
except KeyError:
user = 'uid %s ' % os.getuid()
user = 'uid %s' % os.getuid()
raise NetrcParseError(
("~/.netrc file owner (%s) does not match"
" current user (%s)") % (fowner, user),
......
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