diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-03-07 16:57:26 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-03-07 16:57:26 +0000 |
commit | eda4f0c2c4a33faf26c93b514aae2be4628710c1 (patch) | |
tree | bc521b96fed53a901360abac1f1c5126c10ca953 /fs/path.py | |
parent | 9da556e72ef2fe21d1a8891c8fb275e6c69e96d9 (diff) | |
download | pyfilesystem-eda4f0c2c4a33faf26c93b514aae2be4628710c1.tar.gz |
Fixes of some errors/warnings reported by PyDev and inline documentation
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@644 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/path.py')
-rw-r--r-- | fs/path.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -152,10 +152,10 @@ def pathjoin(*paths): relpaths = [] for p in paths: if p: - if p[0] in '\\/': - del relpaths[:] - absolute = True - relpaths.append(p) + if p[0] in '\\/': + del relpaths[:] + absolute = True + relpaths.append(p) path = normpath(u"/".join(relpaths)) if absolute: |