summaryrefslogtreecommitdiffstats
path: root/Lib/netrc.py
diff options
context:
space:
mode:
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),