Skip to content

Commit c026e56

Browse files
authored
GE-1611: Add anon (#19)
1 parent c39025a commit c026e56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: cloudwrapper/s3.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131

3232
class S3Connection(object):
3333

34-
def __init__(self, region, key=None, secret=None, host=None):
34+
def __init__(self, region, key=None, secret=None, host=None, anon=None):
3535
if region is None and host is not None:
3636
self.connection = connection.S3Connection(
3737
host=host,
3838
aws_access_key_id=key,
3939
aws_secret_access_key=secret,
40+
anon=anon,
4041
calling_format=ProtocolIndependentOrdinaryCallingFormat())
4142
else:
4243
self.connection = connect_to_region(

0 commit comments

Comments
 (0)