0001-hobo-agent-cast-postgresql-dsn-parts-as-strings-4063.patch
bijoe/hobo_agent/management/commands/hobo_deploy.py | ||
---|---|---|
26 | 26 | |
27 | 27 | |
28 | 28 |
def pg_dsn_quote(value): |
29 |
return "'%s'" % value.replace('\\', '\\\\').replace('\'', '\\\'')
|
|
29 |
return "'%s'" % str(value).replace('\\', '\\\\').replace('\'', '\\\'')
|
|
30 | 30 | |
31 | 31 | |
32 | 32 |
def config_parser_quote(value): |
33 |
- |