293 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) |
293 itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) |
294 elif msgCode.startswith("D"): |
294 elif msgCode.startswith("D"): |
295 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) |
295 itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) |
296 elif msgCode.startswith("P"): |
296 elif msgCode.startswith("P"): |
297 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) |
297 itm.setIcon(1, UI.PixmapCache.getIcon("dirClosed")) |
|
298 elif msgCode.startswith("Y"): |
|
299 itm.setIcon(1, UI.PixmapCache.getIcon("filePython")) |
298 elif msgCode.startswith("S"): |
300 elif msgCode.startswith("S"): |
299 if "severity" in result: |
301 if "severity" in result: |
300 if result["severity"] == "H": |
302 if result["severity"] == "H": |
301 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) |
303 itm.setIcon(1, UI.PixmapCache.getIcon("securityLow")) |
302 elif result["severity"] == "M": |
304 elif result["severity"] == "M": |