summaryrefslogtreecommitdiff
path: root/fs/osfs/__init__.py
diff options
context:
space:
mode:
authorrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-10-04 04:21:27 +0000
committerrfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f>2010-10-04 04:21:27 +0000
commit50cdac04d866599d7e7bb165b9b344ca193b05e6 (patch)
treef6e1656f1158d50879052f276fc3da82304453d7 /fs/osfs/__init__.py
parent85772b22aa3bae49b4225a8f930a938e96e79224 (diff)
downloadpyfilesystem-git-50cdac04d866599d7e7bb165b9b344ca193b05e6.tar.gz
add test case for copying files from outside the FS
Diffstat (limited to 'fs/osfs/__init__.py')
-rw-r--r--fs/osfs/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/osfs/__init__.py b/fs/osfs/__init__.py
index a8475ba..bddae9c 100644
--- a/fs/osfs/__init__.py
+++ b/fs/osfs/__init__.py
@@ -122,8 +122,8 @@ class OSFS(OSFSXAttrMixin, OSFSWatchMixin, FS):
def getsyspath(self, path, allow_none=False):
path = relpath(normpath(path)).replace("/",os.sep)
- path = os.path.join(self.root_path, path)
- path = self._decode_path(path)
+ path = os.path.join(self.root_path, path)
+ path = self._decode_path(path)
return path
def unsyspath(self, path):