Merge pull request #46899 from rallytime/bp-45116

Back-port #45116 to 2017.7
This commit is contained in:
Nicole Thomas 2018-04-06 09:47:16 -04:00 committed by GitHub
commit 71839b0303
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,10 +119,15 @@ def query(key, value=None, service=None, profile=None): # pylint: disable=W0613
**key_vars
)
extras = {}
for item in profile[key]:
if item not in ('backend', 'url'):
extras[item] = profile[key][item]
result = http.query(
url,
decode=True,
**key_vars
**extras
)
return result['dict']