def cleanupMessage(warning, winfo):
cleanupItems = {<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>}<EOL>if warning in cleanupItems:<EOL><INDENT>return cleanupItems[warning]<EOL><DEDENT>else:<EOL><INDENT>return winfo["<STR_LIT:message>"]<EOL><DEDENT>
Cleans up pyLint messages, suitable for display.

@param warning: The warning ID.
@param winfo: A L{dict} containing the message in a key named "message".