Original TRAC ticket 4236 reported by giffels
In case of invalidating a file, which is not in DBS, the error message is not clear to the user.
Traceback (most recent call last):
File "DBS3SetFileStatus.py", line 141, in <module>
main()
File "DBS3SetFileStatus.py", line 136, in main
updateFileStatus(opts.status, opts.recursive, files=files, blocks=blocks)
File "DBS3SetFileStatus.py", line 85, in updateFileStatus
flst = isFileValid(files=files, blocks=blocks, fstatus=fstatus)
File "DBS3SetFileStatus.py", line 26, in isFileValid
if rslt[0]['is_file_valid'] == fstatus :
IndexError: list index out of range
Original TRAC ticket 4236 reported by giffels In case of invalidating a file, which is not in DBS, the error message is not clear to the user.