From 9c59125b2be6337970fffa25f3a27f29de0b2bfa Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 8 May 2024 16:18:23 +0200 Subject: [PATCH] Fix style --- app/oaipmh/oai.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/oaipmh/oai.py b/app/oaipmh/oai.py index b34d2185f..35806e2eb 100644 --- a/app/oaipmh/oai.py +++ b/app/oaipmh/oai.py @@ -598,7 +598,6 @@ def processRequest(self, request, metadata_dict): self.addError(root, Errors.badArgument()) return etree.tostring(root, pretty_print=True, encoding='unicode') - # Check for unknown attributes unknown_attributes = [param.split('=')[0] for param in query_parameters if param.split('=')[0] not in attributes_dict]