Skip to content

Commit 8a93284

Browse files
committed
add funtion of bucket encryption
1 parent c92ba31 commit 8a93284

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

qcloud_cos/cos_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3439,7 +3439,6 @@ def put_bucket_encryption(self, Bucket, ServerSideEncryptionConfiguration={}, **
34393439
'</Rule>'
34403440
]
34413441
xml_config = format_xml(data=ServerSideEncryptionConfiguration, root='ServerSideEncryptionConfiguration', lst=lst)
3442-
logger.info('xml_config: {0}'.format(xml_config))
34433442
headers = mapped(kwargs)
34443443
params = {'encryption': ''}
34453444
url = self._conf.uri(bucket=Bucket)
@@ -3480,7 +3479,6 @@ def get_bucket_encryption(self, Bucket, **kwargs):
34803479

34813480
data = xml_to_dict(rt.content)
34823481
format_dict(data, ['Rule'])
3483-
logger.info('data: {0}'.format(data))
34843482
return data
34853483

34863484
def delete_bucket_encryption(self, Bucket, **kwargs):

0 commit comments

Comments
 (0)