From dff2029db6b2098c5e8b79ca568e3811c729d72b Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Wed, 9 Sep 2015 17:20:03 +0300 Subject: [PATCH] py34: fix body's response conversion Change-Id: I15b7c82acbd9e0537567062b00bddb22690b3ff7 --- ec2api/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ec2api/api/__init__.py b/ec2api/api/__init__.py index d7e5172b..37cab2eb 100644 --- a/ec2api/api/__init__.py +++ b/ec2api/api/__init__.py @@ -405,6 +405,6 @@ class Executor(wsgi.Application): resp = webob.Response() resp.status = 200 resp.headers['Content-Type'] = 'text/xml' - resp.body = str(result) + resp.body = six.binary_type(result) return resp