buildreporter: getattr method

This commit is contained in:
Jimmy Zelinskie 2015-02-17 12:21:22 -05:00
parent 0a00453024
commit ca0d2b1721

View file

@ -69,3 +69,6 @@ class BuildMetrics(object):
failed_name, incompleted_name)
else:
self._reporter = NullReporter()
def __getattr__(self, name):
return getattr(self._reporter, name, None)