Allow passing of encoding-type for s3 get_bucket_versions without throwing error.

This was a change made in https://github.com/boto/botocore/pull/1794.
This commit is contained in:
Steve Pulec 2019-07-29 22:52:29 -05:00
parent 37978d79b3
commit e4a4e61835

View File

@ -764,7 +764,7 @@ class S3Backend(BaseBackend):
prefix=''):
bucket = self.get_bucket(bucket_name)
if any((delimiter, encoding_type, key_marker, version_id_marker)):
if any((delimiter, key_marker, version_id_marker)):
raise NotImplementedError(
"Called get_bucket_versions with some of delimiter, encoding_type, key_marker, version_id_marker")