)]}'
{"bin/swift-drive-audit":[{"author":{"_account_id":5499,"name":"jola-mirecka","email":"jola.mirecka@hp.com","username":"jola-mirecka"},"change_message_id":"6721d4b4035b612e6da46830f2fe1d36824f5207","unresolved":false,"context_lines":[{"line_number":66,"context_line":"    try:"},{"line_number":67,"context_line":"        if os.path.getsize(\u0027/var/log/kern.log\u0027) \u003d\u003d 0:"},{"line_number":68,"context_line":"            logger.error(\"/var/log/kern.log is empty\")"},{"line_number":69,"context_line":"            print(\"/var/log/kern.log is empty\")"},{"line_number":70,"context_line":"            sys.exit(1)"},{"line_number":71,"context_line":"        for line in open(\u0027/var/log/kern.log\u0027):"},{"line_number":72,"context_line":"            if \u0027[    0.000000]\u0027 in line:"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAALH%2F%2Fb%2Bg%3D","line":69,"updated":"2012-09-11 15:06:46.000000000","message":"Don\u0027t like the sys.exit(1). On a newly imaged system, it\u0027s normal to have an empty kern.log (that\u0027s how we found the bug). By exit 1, it implies there are bad sector problems on a device. Since you can\u0027t find evidence for this in an empty log, you should do an sys.exit(0) here.\nAn alternate to \"sys.exit()\" is to \"return {}\"","commit_id":"2a3466999167418c77e0eda3df5c392708711f09"},{"author":{"_account_id":866,"name":"Chmouel Boudjnah","email":"chmouel@chmouel.com","username":"chmouel"},"change_message_id":"747f19c507555514bf2bee529bd62c44cd1a3b5a","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        if os.path.getsize(\u0027/var/log/kern.log\u0027) \u003d\u003d 0:"},{"line_number":68,"context_line":"            logger.error(\"/var/log/kern.log is empty\")"},{"line_number":69,"context_line":"            print(\"/var/log/kern.log is empty\")"},{"line_number":70,"context_line":"            sys.exit(0)"},{"line_number":71,"context_line":"        for line in open(\u0027/var/log/kern.log\u0027):"},{"line_number":72,"context_line":"            if \u0027[    0.000000]\u0027 in line:"},{"line_number":73,"context_line":"                # Ignore anything before the last boot"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"AAAALH%2F%2Fb78%3D","line":70,"updated":"2012-09-11 15:50:25.000000000","message":"maybe remove the print and sys.exit(0) and just return {} since a empty file mean no errors...","commit_id":"0e57424e868df236ab66989b4da6a0e964f5c9b5"}]}
