diff options
Diffstat (limited to 'rest-api-templates/transform.py')
-rw-r--r-- | rest-api-templates/transform.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rest-api-templates/transform.py b/rest-api-templates/transform.py index fc12efe85..c3a030064 100644 --- a/rest-api-templates/transform.py +++ b/rest-api-templates/transform.py @@ -52,7 +52,6 @@ class Transform(object): dest_exists = os.path.exists(dest_file) if dest_exists and not self.overwrite: return - tmp_file = tempfile.mkstemp() with tempfile.NamedTemporaryFile() as out: out.write(renderer.render(self.template, model)) out.flush() |