)]}'
{"files/subunit-gearman-worker.py":[{"author":{"_account_id":6133,"name":"yolanda.robla","email":"yroblamo@redhat.com","username":"yolanda.robla"},"change_message_id":"45b6926ef94abe59c6e8325b34a0c130977a651f","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            log_dir \u003d os.path.dirname(log_url)"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"            # Check for logs/ or logs/old/"},{"line_number":186,"context_line":"            if os.path.basename(log_dir) in [\u0027logs\u0027, \u0027old\u0027]:"},{"line_number":187,"context_line":"                log_dir \u003d os.path.dirname(log_dir)"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"                # Check for logs/old/"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_fa4fceba","line":186,"range":{"start_line":186,"start_character":12,"end_line":186,"end_character":14},"updated":"2016-03-09 08:59:12.000000000","message":"why not do it on a single step? you could get the string of the path, check if ends with logs/old or logs, and remove that bits?","commit_id":"415cf03c7e4a0ca2de30297649e0e712976f146a"},{"author":{"_account_id":17001,"name":"Tim Buckley","email":"timothy.jas.buckley@hpe.com","username":"timothy.jas.buckley"},"change_message_id":"33fcc2f0b533a531442c31209addf592b8d178f8","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            log_dir \u003d os.path.dirname(log_url)"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"            # Check for logs/ or logs/old/"},{"line_number":186,"context_line":"            if os.path.basename(log_dir) in [\u0027logs\u0027, \u0027old\u0027]:"},{"line_number":187,"context_line":"                log_dir \u003d os.path.dirname(log_dir)"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"                # Check for logs/old/"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_e4f543ed","line":186,"range":{"start_line":186,"start_character":12,"end_line":186,"end_character":14},"in_reply_to":"5aef4532_fa4fceba","updated":"2016-03-09 19:50:54.000000000","message":"I\u0027ve tried to simplify the logic a bit, but I don\u0027t think this can be done safely in a single step / conditional?","commit_id":"415cf03c7e4a0ca2de30297649e0e712976f146a"}]}
