aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/rhodecode-setup3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index 8432160..0af375e 100644
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -313,8 +313,7 @@ def create_postgresql_role(role, pwd, postgres_usr="postgres"):
"""
postgres_commamd = POSTGRES_CREATE_ROLE % dict(role=str(role),
pwd=str(pwd))
- cmd_args = ["-u", postgres_usr, "psql", "-c",
- '"%s"' % str(postgres_commamd)]
+ cmd_args = ["-u", postgres_usr, "psql", "-c", str(postgres_commamd)]
execute_command(cmd_args)