summaryrefslogtreecommitdiff
path: root/fs/path.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 16:57:26 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 16:57:26 +0000
commiteda4f0c2c4a33faf26c93b514aae2be4628710c1 (patch)
treebc521b96fed53a901360abac1f1c5126c10ca953 /fs/path.py
parent9da556e72ef2fe21d1a8891c8fb275e6c69e96d9 (diff)
downloadpyfilesystem-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.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/path.py b/fs/path.py
index 8b5fd1b..ada8a56 100644
--- a/fs/path.py
+++ b/fs/path.py
@@ -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: