Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfa5d95

Browse files
committed
Remove tabs introduced in last commit.
1 parent 3f7cb5d commit dfa5d95

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/posixpath.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def realpath(filename):
406406
for i in range(2, len(bits)+1):
407407
component = join(*bits[0:i])
408408
# Resolve symbolic links.
409-
if islink(component):
409+
if islink(component):
410410
resolved = _resolve_link(component)
411411
if resolved is None:
412412
# Infinite loop -- return original component + rest of the path
@@ -425,12 +425,12 @@ def _resolve_link(path):
425425
"""
426426
paths_seen = []
427427
while islink(path):
428-
if path in paths_seen:
428+
if path in paths_seen:
429429
# Already seen this path, so we must have a symlink loop
430430
return None
431-
paths_seen.append(path)
431+
paths_seen.append(path)
432432
# Resolve where the link points to
433-
resolved = os.readlink(path)
433+
resolved = os.readlink(path)
434434
if not abspath(resolved):
435435
dir = dirname(path)
436436
path = normpath(join(dir, resolved))

0 commit comments

Comments
 (0)