rewriter: fix indentation of kwargs

pull/11528/head
Charles Brunet 2 years ago committed by Jussi Pakkanen
parent 7fcc9a95bd
commit 9792506536
  1. 2
      mesonbuild/rewriter.py

@ -594,6 +594,8 @@ class Rewriter:
# Convert the keys back to IdNode's
arg_node.kwargs = {IdNode(Token('', '', 0, 0, 0, None, k)): v for k, v in arg_node.kwargs.items()}
for k, v in arg_node.kwargs.items():
k.level = v.level
if num_changed > 0 and node not in self.modified_nodes:
self.modified_nodes += [node]

Loading…
Cancel
Save