From 5cc8f9ed21d2ade45db357cdfe8271ad32a5f836 Mon Sep 17 00:00:00 2001 From: Daniel O'Connell Date: Fri, 12 Jun 2015 08:56:14 +0200 Subject: [PATCH] S3_BUCKET_VERSIONING and S3_BUCKET_GET_VERSIONING were generating invalid XML, as the '' bit must be on the first line. --- moto/s3/responses.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/moto/s3/responses.py b/moto/s3/responses.py index 7eb1af124..5ec9ae321 100644 --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -551,15 +551,13 @@ S3_BUCKET_LIFECYCLE_CONFIGURATION = """ """ -S3_BUCKET_VERSIONING = """ - +S3_BUCKET_VERSIONING = """ {{ bucket_versioning_status }} """ -S3_BUCKET_GET_VERSIONING = """ - +S3_BUCKET_GET_VERSIONING = """ {% if status is none %} {% else %}