aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Sweers <infirit@gmail.com>2018-03-04 19:50:29 +0100
committerSander Sweers <infirit@gmail.com>2018-03-04 19:54:50 +0100
commit9bafde953a18f08e722ffc94c051c51ef397251b (patch)
treeaaf2a74624767e163f36d409c330c385f336c390
parent9d31c751b622da707fb19c06939d8964ab971cd0 (diff)
downloadmeson-9bafde953a18f08e722ffc94c051c51ef397251b.zip
meson-9bafde953a18f08e722ffc94c051c51ef397251b.tar.gz
meson-9bafde953a18f08e722ffc94c051c51ef397251b.tar.bz2
mconf: make print_aligned static
-rw-r--r--mesonbuild/mconf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index 823affe..494d1bd 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -45,7 +45,8 @@ class Conf:
# are erased when Meson is executed the next time, i.e. when
# Ninja is run.
- def print_aligned(self, arr):
+ @staticmethod
+ def print_aligned(arr):
def make_lower_case(val):
if isinstance(val, bool):
return str(val).lower()