)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"8319a6358907e92f9eef31196c77723ec15bda4d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     lihao \u003clihao@cmss.chinamobile.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-18 16:29:11 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix node set console mode failed with numeric ipmi password"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the node using pxe_ipmitool driver and the ipmi password is"},{"line_number":10,"context_line":"numeric, node-set-console-mode function will failed, because"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_9b56555a","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":59},"updated":"2016-03-18 08:57:59.000000000","message":"How about \"support numberic ipmi password\"?","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":15333,"name":"Hao Li","email":"lihao@cmss.chinamobile.com","username":"lihao"},"change_message_id":"ec5d07abb8d6645d93b8d680df0d7d4c3bc40134","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     lihao \u003clihao@cmss.chinamobile.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-03-18 16:29:11 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix node set console mode failed with numeric ipmi password"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the node using pxe_ipmitool driver and the ipmi password is"},{"line_number":10,"context_line":"numeric, node-set-console-mode function will failed, because"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_10b671f8","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":59},"in_reply_to":"1af94dfe_9b56555a","updated":"2016-03-19 07:50:09.000000000","message":"It is a good idea.","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"8319a6358907e92f9eef31196c77723ec15bda4d","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2016-03-18 16:29:11 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix node set console mode failed with numeric ipmi password"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the node using pxe_ipmitool driver and the ipmi password is"},{"line_number":10,"context_line":"numeric, node-set-console-mode function will failed, because"},{"line_number":11,"context_line":"the content written to file should be string. if the type of"},{"line_number":12,"context_line":"content is int, it will be error."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Fixes Bug1558631"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_3bd461bb","line":12,"range":{"start_line":8,"start_character":0,"end_line":12,"end_character":33},"updated":"2016-03-18 08:57:59.000000000","message":"And it is better that write the solution or changes by this patch of how to fix in details here.","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":15333,"name":"Hao Li","email":"lihao@cmss.chinamobile.com","username":"lihao"},"change_message_id":"ec5d07abb8d6645d93b8d680df0d7d4c3bc40134","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2016-03-18 16:29:11 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix node set console mode failed with numeric ipmi password"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the node using pxe_ipmitool driver and the ipmi password is"},{"line_number":10,"context_line":"numeric, node-set-console-mode function will failed, because"},{"line_number":11,"context_line":"the content written to file should be string. if the type of"},{"line_number":12,"context_line":"content is int, it will be error."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Fixes Bug1558631"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_f0a305b0","line":12,"range":{"start_line":8,"start_character":0,"end_line":12,"end_character":33},"in_reply_to":"1af94dfe_3bd461bb","updated":"2016-03-19 07:50:09.000000000","message":"OK","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"8319a6358907e92f9eef31196c77723ec15bda4d","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the content written to file should be string. if the type of"},{"line_number":12,"context_line":"content is int, it will be error."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Fixes Bug1558631"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I25c21f4ce5a81b892bbfb8af8030a01ef6da3e3b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_7ba2699a","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":16},"updated":"2016-03-18 08:57:59.000000000","message":"Fixes Bug: #1558631","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":15333,"name":"Hao Li","email":"lihao@cmss.chinamobile.com","username":"lihao"},"change_message_id":"ec5d07abb8d6645d93b8d680df0d7d4c3bc40134","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the content written to file should be string. if the type of"},{"line_number":12,"context_line":"content is int, it will be error."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Fixes Bug1558631"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: I25c21f4ce5a81b892bbfb8af8030a01ef6da3e3b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1af94dfe_90c28151","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":16},"in_reply_to":"1af94dfe_7ba2699a","updated":"2016-03-19 07:50:09.000000000","message":"Thanks, I will change the format.","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"}],"ironic/drivers/modules/console_utils.py":[{"author":{"_account_id":8106,"name":"Haomeng,Wang","email":"wanghaomeng@gmail.com","username":"whaom"},"change_message_id":"8319a6358907e92f9eef31196c77723ec15bda4d","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            os.chmod(path, 0o600)"},{"line_number":151,"context_line":"            if type(password) is types.IntType:"},{"line_number":152,"context_line":"                password \u003d str(password)"},{"line_number":153,"context_line":"            file.write(password.encode())"},{"line_number":154,"context_line":"        return path"},{"line_number":155,"context_line":"    except Exception as e:"},{"line_number":156,"context_line":"        utils.delete_if_exists(path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_7b01c937","line":153,"range":{"start_line":153,"start_character":11,"end_line":153,"end_character":41},"updated":"2016-03-18 08:57:59.000000000","message":"how is about another change as below?\n   file.write(str(password).encode())","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":7933,"name":"Philippe Godin","email":"godp1301@gmail.com","username":"godp1301"},"change_message_id":"99040a02fe702f543979e980f308727b9742b732","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            os.chmod(path, 0o600)"},{"line_number":151,"context_line":"            if type(password) is types.IntType:"},{"line_number":152,"context_line":"                password \u003d str(password)"},{"line_number":153,"context_line":"            file.write(password.encode())"},{"line_number":154,"context_line":"        return path"},{"line_number":155,"context_line":"    except Exception as e:"},{"line_number":156,"context_line":"        utils.delete_if_exists(path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_dec70a94","line":153,"range":{"start_line":153,"start_character":11,"end_line":153,"end_character":41},"in_reply_to":"1af94dfe_44a7b20a","updated":"2016-03-18 18:42:36.000000000","message":"+1","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":15333,"name":"Hao Li","email":"lihao@cmss.chinamobile.com","username":"lihao"},"change_message_id":"ec5d07abb8d6645d93b8d680df0d7d4c3bc40134","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            os.chmod(path, 0o600)"},{"line_number":151,"context_line":"            if type(password) is types.IntType:"},{"line_number":152,"context_line":"                password \u003d str(password)"},{"line_number":153,"context_line":"            file.write(password.encode())"},{"line_number":154,"context_line":"        return path"},{"line_number":155,"context_line":"    except Exception as e:"},{"line_number":156,"context_line":"        utils.delete_if_exists(path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_3081edfb","line":153,"range":{"start_line":153,"start_character":11,"end_line":153,"end_character":41},"in_reply_to":"1af94dfe_44a7b20a","updated":"2016-03-19 07:50:09.000000000","message":"Thanks, I\u0027m afraid if I change \"file\" to \"tmp_password_file\", Others members will raise more questions. I can commit another patch for the question you mentioned.","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"8fb3c7c46566dd51fb9752647ed8842bf846ea40","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            os.chmod(path, 0o600)"},{"line_number":151,"context_line":"            if type(password) is types.IntType:"},{"line_number":152,"context_line":"                password \u003d str(password)"},{"line_number":153,"context_line":"            file.write(password.encode())"},{"line_number":154,"context_line":"        return path"},{"line_number":155,"context_line":"    except Exception as e:"},{"line_number":156,"context_line":"        utils.delete_if_exists(path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_44a7b20a","line":153,"range":{"start_line":153,"start_character":11,"end_line":153,"end_character":41},"in_reply_to":"1af94dfe_7b01c937","updated":"2016-03-18 17:33:53.000000000","message":"++\n\nAlso, I know it\u0027s slightly unrelated, but can we not call it \"file\" ? Because file is a builtin type in Python.","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"},{"author":{"_account_id":15333,"name":"Hao Li","email":"lihao@cmss.chinamobile.com","username":"lihao"},"change_message_id":"ec5d07abb8d6645d93b8d680df0d7d4c3bc40134","unresolved":false,"context_lines":[{"line_number":150,"context_line":"            os.chmod(path, 0o600)"},{"line_number":151,"context_line":"            if type(password) is types.IntType:"},{"line_number":152,"context_line":"                password \u003d str(password)"},{"line_number":153,"context_line":"            file.write(password.encode())"},{"line_number":154,"context_line":"        return path"},{"line_number":155,"context_line":"    except Exception as e:"},{"line_number":156,"context_line":"        utils.delete_if_exists(path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_707ff514","line":153,"range":{"start_line":153,"start_character":11,"end_line":153,"end_character":41},"in_reply_to":"1af94dfe_7b01c937","updated":"2016-03-19 07:50:09.000000000","message":"you means:\n            if type(password) is types.IntType:\n                file.write(str(password).encode())\n            else:\n                 file.write(password.encode())","commit_id":"f0a72146761a6be7f01fd2954323b53c262c219c"}]}
