def check_read_offsets(read_offsets):
for read_offset in read_offsets:<EOL><INDENT>if read_offset < <NUM_LIT:0>:<EOL><INDENT>msg = '<STR_LIT>'<EOL>log.error(msg)<EOL>raise ArgumentError(msg)<EOL><DEDENT><DEDENT>
Check if read offsets are valid (positive).