mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Fix a Python 2 syntax error
it doesn't like multiple **kwargs, apparently.
This commit is contained in:
@@ -329,7 +329,10 @@ class Export(CustomCommand):
|
|||||||
related[k] = [get_natural_key(x) for x in data.results]
|
related[k] = [get_natural_key(x) for x in data.results]
|
||||||
|
|
||||||
related_fields = {'related': related} if related else {}
|
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):
|
def handle(self, client, parser):
|
||||||
self.extend_parser(parser)
|
self.extend_parser(parser)
|
||||||
|
|||||||
Reference in New Issue
Block a user