mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #33673 from cachedout/lint_33610
Lint servicenow module
This commit is contained in:
commit
9a51263ca8
@ -137,7 +137,7 @@ def non_structured_query(table, query=None, **kwargs):
|
||||
# try and assemble a query by keyword
|
||||
query_parts = []
|
||||
for key, value in kwargs.items():
|
||||
query_parts.append('%s=%s' % (key, value))
|
||||
query_parts.append('{0}={1}'.format(key, value))
|
||||
query = '^'.join(query_parts)
|
||||
query = str(query)
|
||||
response = client.get(query)
|
||||
|
Loading…
Reference in New Issue
Block a user