send json string to api instead of dict

reviewable/pr18780/r1
Brian Coca 8 years ago
parent 6402d36af3
commit f6841eb51f

@ -203,7 +203,7 @@ def _create_or_update_bucket(connection, module, location):
if current_policy is None or json.loads(current_policy) != compare_policy:
try:
bucket.set_policy(load_policy)
bucket.set_policy(policy)
changed = True
current_policy = bucket.get_policy()
except S3ResponseError as e:

Loading…
Cancel
Save