From 213299e9f61be0d40a19ec8f3235e5eb9114a98e Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Tue, 18 Nov 2014 16:20:47 +0530 Subject: [PATCH] fix syntax error --- bench/production_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/production_setup.py b/bench/production_setup.py index 0eb8c6186..dcb41558c 100644 --- a/bench/production_setup.py +++ b/bench/production_setup.py @@ -34,7 +34,7 @@ def is_centos7(): def copy_default_nginx_config(): shutil.copy(os.path.join(os.path.dirname(__file__), 'templates', 'nginx_default.conf'), '/etc/nginx/nginx.conf') -def setup_production(bench='.', user): +def setup_production(user, bench='.'): generate_supervisor_config(bench=bench, user=user) generate_nginx_config(bench=bench) remove_default_nginx_configs()