From 168f61c6a89a7405c22c5b39c7fb3508ae2ca7b9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Barth Date: Fri, 2 Oct 2015 03:58:26 +0200 Subject: [PATCH] Remove useless usage of templating in SWF responses implementation --- moto/swf/responses.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/moto/swf/responses.py b/moto/swf/responses.py index 82c505653..aa627a71e 100644 --- a/moto/swf/responses.py +++ b/moto/swf/responses.py @@ -76,8 +76,7 @@ class SWFResponse(BaseResponse): name = _type["name"] version = _type["version"] self.swf_backend.deprecate_type(kind, domain, name, version) - template = self.response_template("") - return template.render() + return "" # TODO: implement pagination def list_domains(self): @@ -136,8 +135,7 @@ class SWFResponse(BaseResponse): default_task_start_to_close_timeout=default_task_start_to_close_timeout, description=description, ) - template = self.response_template("") - return template.render() + return "" def deprecate_activity_type(self): return self._deprecate_type("activity") @@ -171,8 +169,7 @@ class SWFResponse(BaseResponse): default_execution_start_to_close_timeout=default_execution_start_to_close_timeout, description=description, ) - template = self.response_template("") - return template.render() + return "" def deprecate_workflow_type(self): return self._deprecate_type("workflow")