)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"3a141acec7ccb496202f567c5ed05d16f0f63010","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"https://github.com/openstack/python-novaclient/blob/master/novaclient/client.py#L249-L272"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This is now causing alot jenkins failures acroos projects"},{"line_number":17,"context_line":"that is using novaclient with enable_lazy set to False."},{"line_number":18,"context_line":"As in this kind of scenario the warning message is a message"},{"line_number":19,"context_line":"object instead of unicode sting and it cannot be added:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"da4df55a_eee37a03","line":16,"range":{"start_line":16,"start_character":19,"end_line":16,"end_character":24},"updated":"2016-12-24 03:17:54.000000000","message":"a lot?","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"339a0fad07408a33eb53771241f764f4423b0237","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"https://github.com/openstack/python-novaclient/blob/master/novaclient/client.py#L249-L272"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"This is now causing a lot jenkins failures acroos projects"},{"line_number":17,"context_line":"that is using novaclient with enable_lazy set to False."},{"line_number":18,"context_line":"As in this kind of scenario the warning message is a message"},{"line_number":19,"context_line":"object instead of unicode sting and it cannot be added:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"da4df55a_634cd89e","line":16,"range":{"start_line":16,"start_character":43,"end_line":16,"end_character":49},"updated":"2016-12-27 07:39:37.000000000","message":"nit: across","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"}],"novaclient/client.py":[{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"dd8b27d79b0d7d8757b37a2bd69638c743452ccb","unresolved":false,"context_lines":[{"line_number":253,"context_line":"    message, renames key to right one it needed."},{"line_number":254,"context_line":"    \"\"\""},{"line_number":255,"context_line":"    if deprecated_name in kwargs:"},{"line_number":256,"context_line":"        msg \u003d \"The \u0027%(old)s\u0027 argument is deprecated in %(release)s and \" \\"},{"line_number":257,"context_line":"              \"its use may result in errors in future releases.\" % \\"},{"line_number":258,"context_line":"              {\"old\": deprecated_name, \"release\": release}"},{"line_number":259,"context_line":"        if right_name:"}],"source_content_type":"text/x-python","patch_set":3,"id":"da4df55a_4e900644","line":256,"range":{"start_line":256,"start_character":73,"end_line":256,"end_character":74},"updated":"2016-12-24 03:21:40.000000000","message":"not use \"\\\", we should split the string.","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"edb19fd458c780c7875c4c5fc988c152e4287f3d","unresolved":false,"context_lines":[{"line_number":253,"context_line":"    message, renames key to right one it needed."},{"line_number":254,"context_line":"    \"\"\""},{"line_number":255,"context_line":"    if deprecated_name in kwargs:"},{"line_number":256,"context_line":"        msg \u003d \"The \u0027%(old)s\u0027 argument is deprecated in %(release)s and \" \\"},{"line_number":257,"context_line":"              \"its use may result in errors in future releases.\" % \\"},{"line_number":258,"context_line":"              {\"old\": deprecated_name, \"release\": release}"},{"line_number":259,"context_line":"        if right_name:"}],"source_content_type":"text/x-python","patch_set":3,"id":"da4df55a_cea4f6a7","line":256,"range":{"start_line":256,"start_character":73,"end_line":256,"end_character":74},"in_reply_to":"da4df55a_4e900644","updated":"2016-12-24 03:25:06.000000000","message":"Done","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"},{"author":{"_account_id":15309,"name":"zhaobo","email":"bzhaojyathousandy@gmail.com","username":"ZhaoBo"},"change_message_id":"dd8b27d79b0d7d8757b37a2bd69638c743452ccb","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"\u0027%s\u0027\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":3,"id":"da4df55a_6e930a50","line":272,"range":{"start_line":272,"start_character":27,"end_line":272,"end_character":28},"updated":"2016-12-24 03:21:40.000000000","message":"here","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"339a0fad07408a33eb53771241f764f4423b0237","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"da4df55a_23a9f024","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":31},"updated":"2016-12-27 07:39:37.000000000","message":"I think this way doesn\u0027t work for _LW because the tool extracts message from the code..","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"02a8db60860118b453866e6dae8fbdce83e9645e","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_9d7bb927","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"updated":"2017-01-05 21:15:57.000000000","message":"In such change, nothing will be translated. WE can remove translation for these warnings or try something like\n\n    warnings.warn(_LW(msg))","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"527eea538c18fecae0a218fa2cf70527872814a8","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_333e6728","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"in_reply_to":"ba5201f7_38f1f801","updated":"2017-01-06 13:22:22.000000000","message":"\u003e No, \"_LW(msg)\" is an incorrect use for the translation functions; its argument MUST be a string literal.\n\nIn case if we remove all _LW from L256-266, _LW argument at L272 will be a normal string.","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"cf354a9ad21007e8b825b9d0b1feb4863e7de642","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_69df3469","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"in_reply_to":"ba5201f7_38f1f801","updated":"2017-01-06 01:35:03.000000000","message":"Yeah, thats the cause of the current error. So any good suggestions?","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"87cd876c724ca081715b8fa4273cd9bb7f3539ab","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_84399dd9","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"in_reply_to":"ba5201f7_690e543c","updated":"2017-01-06 02:12:37.000000000","message":"Thanks worth a try","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"70d65246910c7cdc236499949f3a0ae8c82527a1","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_690e543c","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"in_reply_to":"ba5201f7_69df3469","updated":"2017-01-06 02:08:39.000000000","message":"I suggest having literally 3 separate _LW message objects defined in here since there are 3 conditions for the message. Then just set the one with the proper substitution variables that are needed. It seems inefficient, but I think it\u0027s the only way to be able to do that and still have them translated properly.","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"8cb724ee5a812b742e5d9191965925daf195697a","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_38f1f801","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":37},"in_reply_to":"ba5201f7_9d7bb927","updated":"2017-01-05 23:17:12.000000000","message":"No, \"_LW(msg)\" is an incorrect use for the translation functions; its argument MUST be a string literal.","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"db940e588f691dac703d3c19c0638252fcf26b5e","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            # just ignore it"},{"line_number":270,"context_line":"            kwargs.pop(deprecated_name)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        warnings.warn(_LW(\"%s\") % msg)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"def Client(version, username\u003dNone, password\u003dNone, project_id\u003dNone,"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba5201f7_1c6a76b3","line":272,"range":{"start_line":272,"start_character":22,"end_line":272,"end_character":31},"in_reply_to":"da4df55a_23a9f024","updated":"2017-01-05 16:41:23.000000000","message":"Yeah, the _LW() must wrap the strings.  But the concatenation used here originally is fishy anyway, so we should come up with a better way to generate the complete message, even at the risk of introducing duplication.","commit_id":"d2c7a58d39ef3421b09d2b2b33f1f2235d12a17c"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"dcde95adf93bb15904ada4c349138013223f4a5f","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        else:"},{"line_number":274,"context_line":"            msg \u003d _LW(\"The \u0027%(old)s\u0027 argument is deprecated in %(release)s \""},{"line_number":275,"context_line":"                      \"and  its use may result in errors in future \""},{"line_number":276,"context_line":"                      \"releases.\") % {"},{"line_number":277,"context_line":"                \"old\": deprecated_name, \"release\": release}"},{"line_number":278,"context_line":"            # just ignore it"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba5201f7_10015206","line":275,"range":{"start_line":275,"start_character":26,"end_line":275,"end_character":28},"updated":"2017-01-06 16:06:27.000000000","message":"one too many spaces here","commit_id":"6b3bcb282e4cca0c47140da08068b242a31c07b3"}],"novaclient/v2/contrib/__init__.py":[{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"3c33078c11d83b443b10808b6e10a3ceaa997f6c","unresolved":false,"context_lines":[{"line_number":46,"context_line":"            msg +\u003d \" All shell commands were moved to `novaclient.v2.shell` \" \\"},{"line_number":47,"context_line":"                   \"and will be automatically loaded.\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"        warnings.warn(_LW(\"\u0027%s\") % msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da4df55a_6e306a9f","line":49,"range":{"start_line":49,"start_character":27,"end_line":49,"end_character":28},"updated":"2016-12-24 03:14:50.000000000","message":"why?","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"},{"author":{"_account_id":15888,"name":"Zhenyu Zheng","email":"zheng.zhenyu@outlook.com","username":"Kevin_Zheng"},"change_message_id":"edb19fd458c780c7875c4c5fc988c152e4287f3d","unresolved":false,"context_lines":[{"line_number":46,"context_line":"            msg +\u003d \" All shell commands were moved to `novaclient.v2.shell` \" \\"},{"line_number":47,"context_line":"                   \"and will be automatically loaded.\""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"        warnings.warn(_LW(\"\u0027%s\") % msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"da4df55a_ee9ffa4d","line":49,"range":{"start_line":49,"start_character":27,"end_line":49,"end_character":28},"in_reply_to":"da4df55a_6e306a9f","updated":"2016-12-24 03:25:06.000000000","message":"Done","commit_id":"c707ac2c82dc518d169d1ca7e57195784f551abb"}]}
