printer: notin operator should be printed as "not in"

pull/11867/head
Xavier Claessens 2 years ago
parent 5654f03450
commit c25f0b1d54
  1. 2
      mesonbuild/ast/printer.py

@ -123,7 +123,7 @@ class AstPrinter(AstVisitor):
def visit_ComparisonNode(self, node: mparser.ComparisonNode) -> None:
node.left.accept(self)
self.append_padded(node.ctype, node)
self.append_padded(node.ctype if node.ctype != 'notin' else 'not in', node)
node.lineno = self.curr_line or node.lineno
node.right.accept(self)

Loading…
Cancel
Save