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 <>
Reviewed-by: default avatarRené Nussbaumer <>
parent 2214cf14
......@@ -211,7 +211,7 @@ def ListNodes(opts, args):
selected_fields = ParseFields(opts.output, _LIST_DEF_FIELDS)
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,
opts.separator, not opts.no_headers,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment