diff options
author | Milo Casagrande <milo@ubuntu.com> | 2013-01-22 14:33:49 +0100 |
---|---|---|
committer | Milo Casagrande <milo@ubuntu.com> | 2013-01-22 14:33:49 +0100 |
commit | e4488630768e8624def0bcbe79282c4eda083e4b (patch) | |
tree | bacc659a20ce54d1da726aa73f1652294ac69a79 | |
parent | 78aef902216481b1877b4f090185877a5d3f6340 (diff) |
Fixed problem with SQL line.
-rw-r--r-- | scripts/rhodecode-setup | 3 |
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) |