Skip to content

Commit 177d4a9

Browse files
author
Nick Zaccardi
committed
bug: ensure list operations always returns string
1 parent a0d74a1 commit 177d4a9

File tree

1 file changed

+1
-1
lines changed
  • keg_storage/backends

1 file changed

+1
-1
lines changed

keg_storage/backends/s3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _create_boto_session(self, key_id=None, secret_key=None, profile=None, regio
2727
region_name=region)
2828

2929
def list(self, path):
30-
return self.bucket.objects.filter(Prefix=path).all()
30+
return [x.key for x in self.bucket.objects.filter(Prefix=path).all()]
3131

3232
def get(self, path, dest):
3333
try:

0 commit comments

Comments
 (0)