Whitespace normalization.

This commit is contained in:
Tim Peters 2001-02-09 20:06:00 +00:00
parent 3c61c3525f
commit 658cba6706
8 changed files with 21 additions and 22 deletions

View file

@ -346,7 +346,7 @@ def normpath(path):
initial_slashes = path.startswith('/')
# POSIX allows one or two initial slashes, but treats three or more
# as single slash.
if (initial_slashes and
if (initial_slashes and
path.startswith('//') and not path.startswith('///')):
initial_slashes = 2
comps = path.split('/')