Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion RucioClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ def getFileCountPerBlock(self, dataset):
blocks = []
for block in self.getBlockNamesDataset(dataset):
blocks.append((block, self.getFileCountBlock(block)))
if blocks is None:
raise Exception("number of file count per block is None")
except Exception as e:
print(str(e))
return []
return 0
return blocks