diff options
author | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-09-09 21:04:18 +0000 |
---|---|---|
committer | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-09-09 21:04:18 +0000 |
commit | 5cb5166aa8e4a5296bd2e2029d5e804aa99f6ec2 (patch) | |
tree | 15514e12fb03c5eb17dc09251fd3e1bea6fd93e6 /fs/opener.py | |
parent | c2ba6ee6aaabce323fc8c7bd087f30287e5cb54b (diff) | |
download | pyfilesystem-5cb5166aa8e4a5296bd2e2029d5e804aa99f6ec2.tar.gz |
Added option to folllow symlinks to ftpfs, patch from Andrew
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@873 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/opener.py')
-rw-r--r-- | fs/opener.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/opener.py b/fs/opener.py index 83e9ce1..49fef9b 100644 --- a/fs/opener.py +++ b/fs/opener.py @@ -434,7 +434,7 @@ examples: dirpath, resourcepath = pathsplit(path) url = netloc - ftpfs = FTPFS(url, user=username or '', passwd=password or '') + ftpfs = FTPFS(url, user=username or '', passwd=password or '', follow_symlinks=(fs_name_params == "symlinks")) ftpfs.cache_hint(True) if create_dir and path: |