Fix remaining flake8 report

$ flake8
./mesonbuild/interpreterbase.py:411:13: F821 undefined name 'set_variable'

This looks like an actual bug which would affect disabler use :)
pull/3171/head
Jon Turney 7 years ago
parent 8958529a25
commit 390333a18d
  1. 2
      mesonbuild/interpreterbase.py

@ -408,7 +408,7 @@ The result of this is undefined and will become a hard error in a future Meson r
varname = node.var_name
addition = self.evaluate_statement(node.value)
if is_disabler(addition):
set_variable(varname, addition)
self.set_variable(varname, addition)
return
# Remember that all variables are immutable. We must always create a
# full new variable and then assign it.

Loading…
Cancel
Save