8000 Remove line breaks · python/cpython@581862e · GitHub
[go: up one dir, main page]

Skip to content

Commit 581862e

Browse files
committed
Remove line breaks
1 parent 7e21192 commit 581862e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/posixpath.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,12 @@ def expanduser(path):
250250
name = path[1:i]
251251
if isinstance(name, bytes):
252252
name = name.decode('ascii')
253-
254253
userhome = pwd.getpwnam(name).pw_dir
255254
except (ImportError, KeyError):
256255
# pwd module unavailable, return path unchanged
257256
# bpo-10496: if the user name from the path doesn't exist in the
258257
# password database, return the path unchanged
259258
return path
260-
261259
# if no user home, return the path unchanged on VxWorks
262260
if userhome is None and sys.platform == "vxworks":
263261
return path

0 commit comments

Comments
 (0)
0