S3FS: correct verifying of buckets when IAM policy is applied.

This fixes Issue 120.


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@795 67cdc799-7952-0410-af00-57a81ceafa0f
Added closing context manager to files returned by open

git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@796 67cdc799-7952-0410-af00-57a81ceafa0f
Fixed backref exception

git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@797 67cdc799-7952-0410-af00-57a81ceafa0f
Typo fix

git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@798 67cdc799-7952-0410-af00-57a81ceafa0f
Stop WrapFS unit tests throwing a RemoveRootError. Fixes Issue 121


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@799 67cdc799-7952-0410-af00-57a81ceafa0f
Rename test classes from *ZipFS to *ArchiveFS

git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@800 67cdc799-7952-0410-af00-57a81ceafa0f
Fix Issue 122


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@801 67cdc799-7952-0410-af00-57a81ceafa0f
Added python-libarchive to tox dependencies. Fixes Issue 123


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@802 67cdc799-7952-0410-af00-57a81ceafa0f
Another removal of removedir("/")


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@803 67cdc799-7952-0410-af00-57a81ceafa0f
Whole bunch of Python3 str->bytes fixes


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@804 67cdc799-7952-0410-af00-57a81ceafa0f
Looks like closing() was being used incorrectly. Fixes Issue 124


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@805 67cdc799-7952-0410-af00-57a81ceafa0f
Re-enable the SFTP nosetests. Seems like the latest version of paramiko no
longer has the problems we were encountering before. Also required a quick
fix to SFTPFS.removeddir(..., recursive=True) 



git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@806 67cdc799-7952-0410-af00-57a81ceafa0f
No need to save original_setcontents in fakeOn - it's already done in setUp.


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@807 67cdc799-7952-0410-af00-57a81ceafa0f
Found and fixed some more sneaky Python3 str->bytes problems


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@808 67cdc799-7952-0410-af00-57a81ceafa0f
Refactored/simplified the compatibility.copy_file_to_fs function.


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@809 67cdc799-7952-0410-af00-57a81ceafa0f
Doh! ReadOnlyFS was blocking delattr and not delxattr

git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@810 67cdc799-7952-0410-af00-57a81ceafa0f
Removed ZipFS reference (copy/paste error).



git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@811 67cdc799-7952-0410-af00-57a81ceafa0f
Forgot to add BackReferenceError to __all__ list. This caused problems in expose/sftp.py (BackReferenceError not defined).



git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@812 67cdc799-7952-0410-af00-57a81ceafa0f
Use stat() to determine mtime instead of relying on fs directly.



git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@813 67cdc799-7952-0410-af00-57a81ceafa0f
Prevent files being opened with '+' in the mode string. Fixes Issue 129


git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@814 67cdc799-7952-0410-af00-57a81ceafa0f