mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix a Python 2 syntax error
it doesn't like multiple **kwargs, apparently.
This commit is contained in:
parent
65e16dc7ae
commit
d191edcaf1
@ -329,7 +329,10 @@ class Export(CustomCommand):
|
||||
related[k] = [get_natural_key(x) for x in data.results]
|
||||
|
||||
related_fields = {'related': related} if related else {}
|
||||
return dict(**fields, **fk_fields, **related_fields)
|
||||
|
||||
fields.update(fk_fields)
|
||||
fields.update(related_fields)
|
||||
return fields
|
||||
|
||||
def handle(self, client, parser):
|
||||
self.extend_parser(parser)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user