aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Disabler.md2
-rw-r--r--mesonbuild/build.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Disabler.md b/docs/markdown/Disabler.md
index bd2b322..81417f6 100644
--- a/docs/markdown/Disabler.md
+++ b/docs/markdown/Disabler.md
@@ -63,4 +63,4 @@ endif
This concentrates the handling of this option in one place and other
build definition files do not need to be sprinkled with `if`
-statements. \ No newline at end of file
+statements.
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 7757300..4a35bec 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1776,7 +1776,7 @@ class CustomTargetIndex:
def __repr__(self):
return '<CustomTargetIndex: {!r}[{}]>'.format(
- self.target, self.target.output.index(self.output))
+ self.target, self.target.get_outputs().index(self.output))
def get_outputs(self):
return [self.output]