)]}'
{"os_brick/initiator/linuxscsi.py":[{"author":{"_account_id":30092,"name":"Xuan Yandong","email":"xuanyd@outlook.com","username":"xuanyandong"},"change_message_id":"770e885ed6d9b3a60d2108ecba7377c064078661","unresolved":true,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def get_scsi_wwn(self, path):"},{"line_number":195,"context_line":"        \"\"\"Read the WWN from page 0x83 value for a SCSI device.\"\"\""},{"line_number":196,"context_line":"        if \u0027--device\u003d\u0027 not in path:"},{"line_number":197,"context_line":"            path \u003d \u0027--device\u003d\u0027 + path"},{"line_number":198,"context_line":"        (out, _err) \u003d self._execute(\u0027/lib/udev/scsi_id\u0027, \u0027--page\u0027, \u00270x83\u0027,"},{"line_number":199,"context_line":"                                    \u0027--whitelisted\u0027, path,"},{"line_number":200,"context_line":"                                    run_as_root\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"e5e4b938_88f477fe","line":197,"range":{"start_line":196,"start_character":8,"end_line":197,"end_character":37},"updated":"2021-05-08 02:04:29.000000000","message":"This is an optional parameter,if follow the path directly without the \u0027--device\u003d\u0027, it\u0027s OK.\n\nIf added, it shouldn\u0027t be with path, should add with the command.\n\nlike: self._execute(\u0027/lib/udev/scsi_id\u0027, \u0027--page\u0027, \u00270x83\u0027,\n                                    \u0027--whitelisted\u0027, \u0027--device\u003d\u0027, path","commit_id":"27bdece8cd726151b26dd338f31a78cc0c54b771"},{"author":{"_account_id":31705,"name":"CHENGLEI","display_name":"Cheng Lei","email":"chenglei1_yewu@cmss.chinamobile.com","username":"chenglei1"},"change_message_id":"2b0779e6570d308c6b559007391e678719160e09","unresolved":true,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def get_scsi_wwn(self, path):"},{"line_number":195,"context_line":"        \"\"\"Read the WWN from page 0x83 value for a SCSI device.\"\"\""},{"line_number":196,"context_line":"        if \u0027--device\u003d\u0027 not in path:"},{"line_number":197,"context_line":"            path \u003d \u0027--device\u003d\u0027 + path"},{"line_number":198,"context_line":"        (out, _err) \u003d self._execute(\u0027/lib/udev/scsi_id\u0027, \u0027--page\u0027, \u00270x83\u0027,"},{"line_number":199,"context_line":"                                    \u0027--whitelisted\u0027, path,"},{"line_number":200,"context_line":"                                    run_as_root\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":1,"id":"0073e396_8fd3e44b","line":197,"range":{"start_line":196,"start_character":8,"end_line":197,"end_character":37},"in_reply_to":"e5e4b938_88f477fe","updated":"2021-05-13 12:06:37.000000000","message":"If you use the above method, there will be a space between \u0027-- device \u003d\u0027 and path, which will cause the command execution to fail. I hope to combine --device\u003dpath in advance.","commit_id":"27bdece8cd726151b26dd338f31a78cc0c54b771"}]}
