summaryrefslogtreecommitdiffstats
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 (GMT)
commit0d4c06e06e5ee1f3bb1fa8068114bd700d74864a (patch)
tree021c8e11696fc29a41ddd9e853af42e6008a58f6 /Lib/posixpath.py
parente47c508850392422ebbf15c86e7411b46addfcd0 (diff)
downloadcpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.zip
cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.gz
cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.bz2
Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r--Lib/posixpath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 9117208..6f15d48 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -388,10 +388,10 @@ def relpath(path, start=curdir):
if not path:
raise ValueError("no path specified")
-
+
start_list = abspath(start).split(sep)
path_list = abspath(path).split(sep)
-
+
# Work out how much of the filepath is shared by start and path.
i = len(commonprefix([start_list, path_list]))