summaryrefslogtreecommitdiffstats
path: root/Lib/netrc.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-09-18 00:08:09 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-09-18 00:08:09 (GMT)
commit137b572d55af5e6777a766de4d595cbff111d0c3 (patch)
tree0f7e99e76a3835127c11eaef6cc9814633906884 /Lib/netrc.py
parent4189b67a66afc7a5d4ed9ef39c9f8187d98e7909 (diff)
downloadcpython-137b572d55af5e6777a766de4d595cbff111d0c3.zip
cpython-137b572d55af5e6777a766de4d595cbff111d0c3.tar.gz
cpython-137b572d55af5e6777a766de4d595cbff111d0c3.tar.bz2
Add versionchanged for #14984, remove extra blank from string.
Diffstat (limited to 'Lib/netrc.py')
-rw-r--r--Lib/netrc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/netrc.py b/Lib/netrc.py
index 0b4eedf..2b45bc2 100644
--- a/Lib/netrc.py
+++ b/Lib/netrc.py
@@ -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),