fix AttributeError in CustomTargetIndex.__repr__

0.44
Andrei Alexeyev 7 years ago committed by Nirbheek Chauhan
parent 5c0cbf7b32
commit ec1ed1e99b
  1. 2
      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]

Loading…
Cancel
Save