)]}'
{"climateclient/utils.py":[{"author":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"change_message_id":"8d53227f5643edcd87fd24d633b316440b72be8f","unresolved":false,"context_lines":[{"line_number":139,"context_line":"                                               status_code\u003d404)"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"def get_seconds_from_time_option(time_option):"},{"line_number":143,"context_line":"    \"\"\"Return the amount of seconds based on the time_option parameter"},{"line_number":144,"context_line":"    :param: time_option: a string that matches ELAPSED_TIME_REGEX"},{"line_number":145,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAXX%2F%2Fs58%3D","line":142,"updated":"2014-04-28 15:36:58.000000000","message":"Why two methods instead of one? Maybe I\u0027m missing something.","commit_id":"4541638a553a0018255a33e8b6d0bfd3c0f46d2d"},{"author":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"change_message_id":"8d53227f5643edcd87fd24d633b316440b72be8f","unresolved":false,"context_lines":[{"line_number":151,"context_line":"    if is_elapsed_time is None:"},{"line_number":152,"context_line":"        raise exception.ClimateClientException(_(\"Invalid time \""},{"line_number":153,"context_line":"                                                 \"format for option.\"))"},{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        elapsed_time_option \u003d is_elapsed_time.group()[-1]"},{"line_number":156,"context_line":"        elapsed_time_value \u003d int(is_elapsed_time.group()[:-1])"},{"line_number":157,"context_line":"        return {"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAXX%2F%2Fs5o%3D","line":154,"updated":"2014-04-28 15:36:58.000000000","message":"The else is not needed.","commit_id":"4541638a553a0018255a33e8b6d0bfd3c0f46d2d"},{"author":{"_account_id":9331,"name":"Pablo Andres Fuente","email":"pablo.andres.fuente@gmail.com","username":"pafuent"},"change_message_id":"8d53227f5643edcd87fd24d633b316440b72be8f","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        raise exception.ClimateClientException(_(\"Invalid time \""},{"line_number":153,"context_line":"                                                 \"format for option.\"))"},{"line_number":154,"context_line":"    else:"},{"line_number":155,"context_line":"        elapsed_time_option \u003d is_elapsed_time.group()[-1]"},{"line_number":156,"context_line":"        elapsed_time_value \u003d int(is_elapsed_time.group()[:-1])"},{"line_number":157,"context_line":"        return {"},{"line_number":158,"context_line":"            \u0027s\u0027: lambda x:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAXX%2F%2Fs4I%3D","line":155,"updated":"2014-04-28 15:36:58.000000000","message":"Modify the regexp to have the time unit as a group.\n  ELAPSED_TIME_REGEX \u003d \u0027^(\\d+)([s|m|h|d])$\u0027\nThen access the group\n  elapsed_time_option \u003d is_elapsed_time.group(2)\n  elapsed_time_value \u003d int(is_elapsed_time.group(1)","commit_id":"4541638a553a0018255a33e8b6d0bfd3c0f46d2d"}]}
