Compare commits

...

1 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ from django.conf import settings
def pg_dsn_quote(value):
return "'%s'" % value.replace('\\', '\\\\').replace('\'', '\\\'')
return "'%s'" % str(value).replace('\\', '\\\\').replace('\'', '\\\'')
def config_parser_quote(value):

View File

@ -46,7 +46,7 @@ def test_deploy_specifics(tmpdir, settings, monkeypatch):
'HOST': 'hostname.zob.org',
'USER': 'hep',
'PASSWORD': 'a \'%fc',
'PORT': '1234',
'PORT': 1234,
}
}
hobo_environment = {