Skip to content
Snippets Groups Projects
Commit a36f605d authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

client.gnt_node: Remove unnecessary lambda


Pylint complained that the “lambda may not be necessary”. Turns out it
was right.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 2214cf14
No related branches found
No related tags found
No related merge requests found
...@@ -211,7 +211,7 @@ def ListNodes(opts, args): ...@@ -211,7 +211,7 @@ def ListNodes(opts, args):
selected_fields = ParseFields(opts.output, _LIST_DEF_FIELDS) selected_fields = ParseFields(opts.output, _LIST_DEF_FIELDS)
fmtoverride = dict.fromkeys(["pinst_list", "sinst_list", "tags"], fmtoverride = dict.fromkeys(["pinst_list", "sinst_list", "tags"],
(lambda value: ",".join(value), False)) (",".join, False))
return GenericList(constants.QR_NODE, selected_fields, args, opts.units, return GenericList(constants.QR_NODE, selected_fields, args, opts.units,
opts.separator, not opts.no_headers, opts.separator, not opts.no_headers,
......
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