Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
137b572d
Commit
137b572d
authored
Sep 17, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add versionchanged for #14984, remove extra blank from string.
parent
4189b67a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Doc/library/netrc.rst
Doc/library/netrc.rst
+2
-0
Lib/netrc.py
Lib/netrc.py
+1
-1
No files found.
Doc/library/netrc.rst
View file @
137b572d
...
...
@@ -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
...
...
Lib/netrc.py
View file @
137b572d
...
...
@@ -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),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment