diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-29 03:49:43 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-29 03:49:43 (GMT) |
commit | 2c60f7a13697bbc19c4d5ef0b052c34cf1848244 (patch) | |
tree | 7e33cdc40b1e60ad8729008f344bb8849e1373e1 /Lib/macpath.py | |
parent | c0c12b57070a5b494662bebc418e3958bf5bdbee (diff) | |
download | cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.zip cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.gz cpython-2c60f7a13697bbc19c4d5ef0b052c34cf1848244.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index 8cebc08..e8ac467 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -85,10 +85,10 @@ def dirname(s): return split(s)[0] def basename(s): return split(s)[1] def ismount(s): - if not isabs(s): - return False - components = split(s) - return len(components) == 2 and components[1] == '' + if not isabs(s): + return False + components = split(s) + return len(components) == 2 and components[1] == '' def isdir(s): """Return true if the pathname refers to an existing directory.""" |