# | Line 151 | Line 151 | class DBSInfo_EDM: | |
---|---|---|
151 | """ Query DBS to get files/fileblocks """ | |
152 | try: | |
153 | FilesbyBlock={} | |
154 | < | for fileBlock in self.api.getDatasetFileBlocks(path): |
154 | > | try: |
155 | > | allBlocks = self.api.getDatasetFileBlocks(path) |
156 | > | except dbsCgiApi.DbsCgiBadResponse, ex: |
157 | > | raise DBSError(ex.getClassName(), ex.getErrorMessage()) |
158 | > | for fileBlock in allBlocks: |
159 | blockname=fileBlock.get('blockName') | |
160 | filesinblock=[] | |
161 | for files in fileBlock.get('fileList'): |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |