)]}'
{"nova/api/openstack/compute/contrib/simple_tenant_usage.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d4b0597bac3354a734c21f58523ae232467a4161","unresolved":false,"context_lines":[{"line_number":220,"context_line":"            value \u003d dtstr"},{"line_number":221,"context_line":"        try:"},{"line_number":222,"context_line":"            value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S\")"},{"line_number":223,"context_line":"        except Exception:"},{"line_number":224,"context_line":"            try:"},{"line_number":225,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S.%f\")"},{"line_number":226,"context_line":"            except Exception:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2FySw%3D","line":223,"updated":"2014-04-10 12:31:32.000000000","message":"s/Exception/exception.InvalidStrTime/","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"61c4d72e7895e58eb9b74229f3a1b4ea695381f3","unresolved":false,"context_lines":[{"line_number":220,"context_line":"            value \u003d dtstr"},{"line_number":221,"context_line":"        try:"},{"line_number":222,"context_line":"            value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S\")"},{"line_number":223,"context_line":"        except Exception:"},{"line_number":224,"context_line":"            try:"},{"line_number":225,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S.%f\")"},{"line_number":226,"context_line":"            except Exception:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_feb79d1f","line":223,"in_reply_to":"AAAAW3%2F%2FtYI%3D","updated":"2014-06-23 05:58:36.000000000","message":"thx - thats a really good improvement","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d40fc7fc88fc8023ae982bb53b8e9699fe1941f3","unresolved":false,"context_lines":[{"line_number":220,"context_line":"            value \u003d dtstr"},{"line_number":221,"context_line":"        try:"},{"line_number":222,"context_line":"            value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S\")"},{"line_number":223,"context_line":"        except Exception:"},{"line_number":224,"context_line":"            try:"},{"line_number":225,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S.%f\")"},{"line_number":226,"context_line":"            except Exception:"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2FtYI%3D","line":223,"in_reply_to":"AAAAW3%2F%2FySw%3D","updated":"2014-04-10 23:59:51.000000000","message":"or\n\n for fmt in [\"%Y-%m-%dT%H:%M:%S\",\n             \"%Y-%m-%dT%H:%M:%S.%f\",\n             \"%Y-%m-%d %H:%M:%S.%f\"]:\n     try:\n         value \u003d parse_strtime(dtstr, fmt)\n         break\n     except exception.InvalidStrTime:\n         pass\n else:\n     raise exception.InvalidStrTime","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d4b0597bac3354a734c21f58523ae232467a4161","unresolved":false,"context_lines":[{"line_number":223,"context_line":"        except Exception:"},{"line_number":224,"context_line":"            try:"},{"line_number":225,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S.%f\")"},{"line_number":226,"context_line":"            except Exception:"},{"line_number":227,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%d %H:%M:%S.%f\")"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"        # NOTE(mriedem): Instance object DateTime fields are timezone-aware"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2FySo%3D","line":226,"updated":"2014-04-10 12:31:32.000000000","message":"ditto","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"61c4d72e7895e58eb9b74229f3a1b4ea695381f3","unresolved":false,"context_lines":[{"line_number":223,"context_line":"        except Exception:"},{"line_number":224,"context_line":"            try:"},{"line_number":225,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%dT%H:%M:%S.%f\")"},{"line_number":226,"context_line":"            except Exception:"},{"line_number":227,"context_line":"                value \u003d parse_strtime(dtstr, \"%Y-%m-%d %H:%M:%S.%f\")"},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"        # NOTE(mriedem): Instance object DateTime fields are timezone-aware"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_5ee5f1a2","line":226,"in_reply_to":"AAAAW3%2F%2FySo%3D","updated":"2014-06-23 05:58:36.000000000","message":"Done","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"}],"nova/tests/api/openstack/compute/contrib/test_simple_tenant_usage.py":[{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"be6247e9bc771ff3e6c037416a2af31472df2064","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        self.assertEqual(res.status_int, 400)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    def test_get_tenants_usage_with_invalid_start_date(self):"},{"line_number":258,"context_line":"        future \u003d NOW + datetime.timedelta(hours\u003dHOURS)"},{"line_number":259,"context_line":"        tenant_id \u003d 0"},{"line_number":260,"context_line":"        req \u003d webob.Request.blank("},{"line_number":261,"context_line":"                  \u0027/v2/faketenant_0/os-simple-tenant-usage/\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2F9eE%3D","line":258,"updated":"2014-04-09 08:30:41.000000000","message":"I think future is not used here ...","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"61c4d72e7895e58eb9b74229f3a1b4ea695381f3","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        self.assertEqual(res.status_int, 400)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    def test_get_tenants_usage_with_invalid_start_date(self):"},{"line_number":258,"context_line":"        future \u003d NOW + datetime.timedelta(hours\u003dHOURS)"},{"line_number":259,"context_line":"        tenant_id \u003d 0"},{"line_number":260,"context_line":"        req \u003d webob.Request.blank("},{"line_number":261,"context_line":"                  \u0027/v2/faketenant_0/os-simple-tenant-usage/\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2FskI%3D","line":258,"in_reply_to":"AAAAW3%2F%2F9eE%3D","updated":"2014-06-23 05:58:36.000000000","message":"Done","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d4b0597bac3354a734c21f58523ae232467a4161","unresolved":false,"context_lines":[{"line_number":255,"context_line":"        self.assertEqual(res.status_int, 400)"},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"    def test_get_tenants_usage_with_invalid_start_date(self):"},{"line_number":258,"context_line":"        future \u003d NOW + datetime.timedelta(hours\u003dHOURS)"},{"line_number":259,"context_line":"        tenant_id \u003d 0"},{"line_number":260,"context_line":"        req \u003d webob.Request.blank("},{"line_number":261,"context_line":"                  \u0027/v2/faketenant_0/os-simple-tenant-usage/\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAW3%2F%2FyTk%3D","line":258,"in_reply_to":"AAAAW3%2F%2F9eE%3D","updated":"2014-04-10 12:31:32.000000000","message":"nice catch. here should be removed.","commit_id":"4d9863f0bc96d55fa8af74b900982f8797410e85"}]}
