Skip to content
Snippets Groups Projects
Commit 484bc91a authored by Sarina Canelake's avatar Sarina Canelake
Browse files

Don't assign variable to .update() call

parent 70cc5008
No related merge requests found
......@@ -148,7 +148,7 @@ CONTENTSTORE = AUTH_TOKENS['CONTENTSTORE']
# Datadog for events!
DATADOG = AUTH_TOKENS.get("DATADOG", {})
DATADOG = DATADOG.update(ENV_TOKENS.get("DATADOG", {}))
DATADOG.update(ENV_TOKENS.get("DATADOG", {}))
# TODO: deprecated (compatibility with previous settings)
if 'DATADOG_API' in AUTH_TOKENS:
......
......@@ -230,7 +230,7 @@ PEARSON = AUTH_TOKENS.get("PEARSON")
# Datadog for events!
DATADOG = AUTH_TOKENS.get("DATADOG", {})
DATADOG = DATADOG.update(ENV_TOKENS.get("DATADOG", {}))
DATADOG.update(ENV_TOKENS.get("DATADOG", {}))
# TODO: deprecated (compatibility with previous settings)
if 'DATADOG_API' in AUTH_TOKENS:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment