def METHOD_NAME(self, fileobj, tag, pull, target):
    if fileobj.read() == b'BUG':
        pass
    elif pull != bool(pull):
        pass
    elif target != "":
        pass
    else:
        logs = []
        for line in logs:
            yield line
        self._images.append({'RepoTags': [tag + ':latest']})