mirror of
https://github.com/mozilla-services/syncserver
synced 2024-11-16 12:13:06 +00:00
fix indent
This commit is contained in:
parent
c3f51c412b
commit
3e9e557d28
@ -186,8 +186,8 @@ def import_settings_from_environment_variables(settings, environ=None):
|
|||||||
str_to_bool),
|
str_to_bool),
|
||||||
)
|
)
|
||||||
if "SYNCSERVER_SECRET_FILE" in environ:
|
if "SYNCSERVER_SECRET_FILE" in environ:
|
||||||
settings["syncserver.secret"] = open(environ["SYNCSERVER_SECRET_FILE"])
|
settings["syncserver.secret"] = \
|
||||||
.read().strip()
|
open(environ["SYNCSERVER_SECRET_FILE"]).read().strip()
|
||||||
for key, name, convert in SETTINGS_FROM_ENVIRON:
|
for key, name, convert in SETTINGS_FROM_ENVIRON:
|
||||||
try:
|
try:
|
||||||
settings[name] = convert(environ[key])
|
settings[name] = convert(environ[key])
|
||||||
|
Loading…
Reference in New Issue
Block a user