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