From 9db0adccaf2341cdf7f03a11a5aa2b2066aac0d2 Mon Sep 17 00:00:00 2001 From: gau1991 Date: Thu, 18 Dec 2014 15:05:19 +0530 Subject: [PATCH] Hiding render output from screen --- ee/cli/plugins/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 7586abf6..68951f37 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -100,7 +100,7 @@ class EEStackController(CementBaseController): # Custom Nginx configuration by EasyEngine data = dict(version='EasyEngine 3.0.1') ee_nginx = open('/etc/nginx/conf.d/ee-nginx.conf', 'w') - ee_nginx.write(self.app.render((data), 'nginx-core.mustache')) + self.app.render((data), 'nginx-core.mustache', out=ee_nginx) ee_nginx.close() pass