diff --git a/src/DIRAC/DataManagementSystem/Client/ConsistencyInspector.py b/src/DIRAC/DataManagementSystem/Client/ConsistencyInspector.py index 1865c737dd3..44d93ce8f72 100644 --- a/src/DIRAC/DataManagementSystem/Client/ConsistencyInspector.py +++ b/src/DIRAC/DataManagementSystem/Client/ConsistencyInspector.py @@ -727,7 +727,7 @@ def _getCatalogReplicas(self, lfns): def _getCatalogMetadata(self, lfns): """Obtain the file metadata from the catalog while checking they exist""" - allMetadata = [] + allMetadata = {} missingCatalogFiles = [] zeroSizeFiles = []