def _createHeader(self, record):
        deleted = record['deleted']
        for setspec in record['sets']:
            if setspec in self.config.sets_deleted:
                deleted = True
                break
        return oaipmh.common.Header(record['id'],
                                    record['modified'],
                                    record['sets'],
                                    deleted)
dataset/ETHPy150Open infrae/moai/moai/oai.py/OAIServer._createHeader/original