)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"e793b470173969fb78cc606957262a7220463dbd","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support clean step erase_devices for ProliantHardwareManager"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit add support to perform clean step \u0027erase_devices\u0027"},{"line_number":10,"context_line":"for ProliantHardwareManager."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"If the \u0027erase_type\u0027 from the node is \u0027hardware\u0027,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3aaa91ec_29525313","line":9,"updated":"2016-06-30 17:26:06.000000000","message":"Nit: \"adds\"","commit_id":"0c5fd404a690a2907091f352d17a67bbce3432d4"}],"ironic_python_agent/extensions/clean.py":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"e793b470173969fb78cc606957262a7220463dbd","unresolved":false,"context_lines":[{"line_number":134,"context_line":"                        {\u0027manager\u0027: manager, \u0027steps\u0027: manager_steps})"},{"line_number":135,"context_line":"            continue"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        if not manager_steps:"},{"line_number":138,"context_line":"            # remove the manager without any clean steps"},{"line_number":139,"context_line":"            candidate_steps.pop(manager)"},{"line_number":140,"context_line":"            continue"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_895547fb","line":137,"updated":"2016-06-30 17:26:06.000000000","message":"This seems unrelated to the rest of the commit - can it be split out?","commit_id":"0c5fd404a690a2907091f352d17a67bbce3432d4"}],"ironic_python_agent/hardware.py":[{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"e793b470173969fb78cc606957262a7220463dbd","unresolved":false,"context_lines":[{"line_number":158,"context_line":"    erase_type \u003d [info[\u0027erase_type\u0027] if \u0027erase_type\u0027 in info else None]"},{"line_number":159,"context_line":"    _is_proliant_hardware \u003d ["},{"line_number":160,"context_line":"        True for x in managers"},{"line_number":161,"context_line":"        if x.__class__.__name__ \u003d\u003d \u0027ProliantHardwareManager\u0027]"},{"line_number":162,"context_line":"    if erase_type is not None and _is_proliant_hardware:"},{"line_number":163,"context_line":"        manager_name \u003d manager.__class__.__name__"},{"line_number":164,"context_line":"        if ((manager_name \u003d\u003d \u0027ProliantHardwareManager\u0027 and"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_e92deb8f","line":161,"updated":"2016-06-30 17:26:06.000000000","message":"Can you replace this check with polymorphism?","commit_id":"0c5fd404a690a2907091f352d17a67bbce3432d4"},{"author":{"_account_id":18893,"name":"Miles Gould","email":"mgould@redhat.com","username":"pozorvlak"},"change_message_id":"e793b470173969fb78cc606957262a7220463dbd","unresolved":false,"context_lines":[{"line_number":161,"context_line":"        if x.__class__.__name__ \u003d\u003d \u0027ProliantHardwareManager\u0027]"},{"line_number":162,"context_line":"    if erase_type is not None and _is_proliant_hardware:"},{"line_number":163,"context_line":"        manager_name \u003d manager.__class__.__name__"},{"line_number":164,"context_line":"        if ((manager_name \u003d\u003d \u0027ProliantHardwareManager\u0027 and"},{"line_number":165,"context_line":"             erase_type \u003d\u003d \u0027hardware\u0027) or"},{"line_number":166,"context_line":"            (manager_name \u003d\u003d \u0027GenericHardwareManager\u0027 and"},{"line_number":167,"context_line":"             erase_type \u003d\u003d \u0027shred\u0027)):"}],"source_content_type":"text/x-python","patch_set":1,"id":"3aaa91ec_494fdf6a","line":164,"updated":"2016-06-30 17:26:06.000000000","message":"As above - replace with polymorphism.","commit_id":"0c5fd404a690a2907091f352d17a67bbce3432d4"}]}
