Skip to content

Commit

Permalink
Fixes s3 logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Corsaro committed Feb 12, 2016
1 parent aee18c2 commit 64880ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tubing/ext/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def __init__(self, bucket, key): # pragma: no cover
Create an S3 Source stream.
"""
s3 = boto3.client('s3')
self.bucket = bucket
self.key = key
self.response = s3.get_object(Bucket=bucket, Key=key)

def read(self, amt):
Expand Down

0 comments on commit 64880ec

Please sign in to comment.