def set_msg_status(self, msg, line, status):
assert line > <NUM_LIT:0><EOL>try:<EOL><INDENT>self._module_msgs_state[msg.msgid][line] = status<EOL><DEDENT>except KeyError:<EOL><INDENT>self._module_msgs_state[msg.msgid] = {line: status}<EOL><DEDENT>
Set status (enabled/disable) for a given message at a given line