)]}'
{"freezer/backup.py":[{"author":{"_account_id":14159,"name":"Fabrizio Vanni","email":"fabrizio.vanni@hpe.com","username":"fabrizio.vanni"},"change_message_id":"a5c1f122bc03ee83c0c628224293c48e22f1bdbb","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    \"\"\""},{"line_number":49,"context_line":"    with open(backup_opt_dict.sql_server_conf, \u0027r\u0027) as sql_conf_file_fd:"},{"line_number":50,"context_line":"        for line in sql_conf_file_fd:"},{"line_number":51,"context_line":"            if \u0027instance\u0027 in line and not line.startswith(\"#\"):"},{"line_number":52,"context_line":"                db_instance \u003d line.split(\u0027\u003d\u0027)[1].strip()"},{"line_number":53,"context_line":"                backup_opt_dict.sql_server_instance \u003d db_instance"},{"line_number":54,"context_line":"                continue"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_9c52fd33","line":51,"updated":"2015-08-07 10:03:22.000000000","message":"line\u003dline.strip() can help with eventual leading spaces in front of the \"#\"","commit_id":"18eda64272049f2104e9726ca54761a8d87e22cb"},{"author":{"_account_id":14159,"name":"Fabrizio Vanni","email":"fabrizio.vanni@hpe.com","username":"fabrizio.vanni"},"change_message_id":"a5c1f122bc03ee83c0c628224293c48e22f1bdbb","unresolved":false,"context_lines":[{"line_number":90,"context_line":"    db_port \u003d 3306"},{"line_number":91,"context_line":"    with open(backup_opt_dict.mysql_conf, \u0027r\u0027) as mysql_file_fd:"},{"line_number":92,"context_line":"        for line in mysql_file_fd:"},{"line_number":93,"context_line":"            if \u0027host\u0027 in line and not line.startswith(\"#\"):"},{"line_number":94,"context_line":"                db_host \u003d line.split(\u0027\u003d\u0027)[1].strip()"},{"line_number":95,"context_line":"                continue"},{"line_number":96,"context_line":"            elif \u0027user\u0027 in line and not line.startswith(\"#\"):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_30050d10","line":93,"updated":"2015-08-07 10:03:22.000000000","message":"(same as above)\n\nline\u003dline.strip() can help with eventual leading spaces in front of the \"#\"","commit_id":"18eda64272049f2104e9726ca54761a8d87e22cb"},{"author":{"_account_id":11151,"name":"Fausto Marzi","email":"fausto.marzi@ericsson.com","username":"fausto.marzi"},"change_message_id":"b001201d6a6e1c84b83ad05abcea6d686eceaaf1","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                    db_port \u003d int(db_port)"},{"line_number":105,"context_line":"                except ValueError:"},{"line_number":106,"context_line":"                    raise ValueError("},{"line_number":107,"context_line":"                        logging.error(\u0027[*] MySQL port should be integer\u0027)"},{"line_number":108,"context_line":"                    )"},{"line_number":109,"context_line":"                continue"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_b30a8724","line":107,"updated":"2015-08-07 10:35:26.000000000","message":"We whould probably start using the logging convention generally used in openstack. Other code parts already are implemented following the hacking guidlines.","commit_id":"18eda64272049f2104e9726ca54761a8d87e22cb"}]}
