Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
GendoIkari committed Jan 31, 2017
1 parent 6a3091f commit 751c36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3archive/s3archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, bucket, csv_keys):
self.bucket = s3_resource.Bucket(bucket)

def find(self, regex):
"""Returns a generator of s3 objects that match the given regex."""
"""Returns a generator of s3 objects that match the given regex in the form of (key, file_object)."""
return ((f.key, f.get()['Body']) for f in self.bucket.objects.all() if re.match(regex, f.key))

def exists(self, regex):
Expand Down

0 comments on commit 751c36d

Please sign in to comment.