Commit ca0ea110 by Piotr Mitros

Removed S3 AWS permission exceptions, which are in boto, and which break VPC auth

parent d6226210
...@@ -108,12 +108,6 @@ class S3FS(FS): ...@@ -108,12 +108,6 @@ class S3FS(FS):
prefix = prefix + separator prefix = prefix + separator
if isinstance(prefix,unicode): if isinstance(prefix,unicode):
prefix = prefix.encode("utf8") prefix = prefix.encode("utf8")
if aws_access_key is None:
if "AWS_ACCESS_KEY_ID" not in os.environ:
raise CreateFailedError("AWS_ACCESS_KEY_ID not set")
if aws_secret_key is None:
if "AWS_SECRET_ACCESS_KEY" not in os.environ:
raise CreateFailedError("AWS_SECRET_ACCESS_KEY not set")
self._prefix = prefix self._prefix = prefix
self._tlocal = thread_local() self._tlocal = thread_local()
super(S3FS, self).__init__(thread_synchronize=thread_synchronize) super(S3FS, self).__init__(thread_synchronize=thread_synchronize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment