def lookup_failure(self, artifact_name):
        fn = self.get_filename(artifact_name)
        try:
            with open(fn, 'rb') as f:
                return BuildFailure(json.load(f))
        except IOError as e:
            if e.errno != errno.ENOENT:
                raise
Looks up a failure for the given artifact name.
dataset/ETHPy150Open lektor/lektor-archive/lektor/buildfailures.py/FailureController.lookup_failure