diff options
author | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-09-10 00:10:53 +0000 |
---|---|---|
committer | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-09-10 00:10:53 +0000 |
commit | 9274820511013c48b45a6654f76c5360f72f3551 (patch) | |
tree | 237459ba963840f65f1eb873c090245f86d6de14 /fs/path.py | |
parent | fbe1238c34ef238a0a50166d6b2ec19a7ee94435 (diff) | |
download | pyfilesystem-9274820511013c48b45a6654f76c5360f72f3551.tar.gz |
createfile fixes
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@876 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/path.py')
-rw-r--r-- | fs/path.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -192,6 +192,8 @@ def pathcombine(path1, path2): 'foo/bar/baz' """ + if not path1: + return path2.lstrip() return "%s/%s" % (path1.rstrip('/'), path2.lstrip('/')) |