)]}'
{"os_brick/exception.py":[{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                # kwargs doesn\u0027t match a variable in the message"},{"line_number":51,"context_line":"                # log the issue and the kwargs"},{"line_number":52,"context_line":"                msg \u003d (_LE(\"Exception in string format operation.  msg\u003d\u0027%s\u0027\")"},{"line_number":53,"context_line":"                       % self.message)"},{"line_number":54,"context_line":"                LOG.exception(msg)"},{"line_number":55,"context_line":"                for name, value in kwargs.iteritems():"},{"line_number":56,"context_line":"                    LOG.error(_LE(\"%(name)s: %(value)s\") % {\u0027name\u0027: name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_e06a08b4","line":53,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nThis was fine the way it was.\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                # kwargs doesn\u0027t match a variable in the message"},{"line_number":51,"context_line":"                # log the issue and the kwargs"},{"line_number":52,"context_line":"                msg \u003d (_LE(\"Exception in string format operation.  msg\u003d\u0027%s\u0027\")"},{"line_number":53,"context_line":"                       % self.message)"},{"line_number":54,"context_line":"                LOG.exception(msg)"},{"line_number":55,"context_line":"                for name, value in kwargs.iteritems():"},{"line_number":56,"context_line":"                    LOG.error(_LE(\"%(name)s: %(value)s\") % {\u0027name\u0027: name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_4985b3cd","line":53,"in_reply_to":"9a80dd14_e06a08b4","updated":"2015-03-19 07:25:28.000000000","message":"Hi Walter,\n\nThe scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log an exception so it needs to be translated using _LE().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                # kwargs doesn\u0027t match a variable in the message"},{"line_number":51,"context_line":"                # log the issue and the kwargs"},{"line_number":52,"context_line":"                msg \u003d (_LE(\"Exception in string format operation.  msg\u003d\u0027%s\u0027\")"},{"line_number":53,"context_line":"                       % self.message)"},{"line_number":54,"context_line":"                LOG.exception(msg)"},{"line_number":55,"context_line":"                for name, value in kwargs.iteritems():"},{"line_number":56,"context_line":"                    LOG.error(_LE(\"%(name)s: %(value)s\") % {\u0027name\u0027: name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_d5a8008e","line":53,"in_reply_to":"9a80dd14_e06a08b4","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"}],"os_brick/initiator/connector.py":[{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":435,"context_line":"                if l.startswith(\u0027InitiatorName\u003d\u0027):"},{"line_number":436,"context_line":"                    return l[l.index(\u0027\u003d\u0027) + 1:].strip()"},{"line_number":437,"context_line":"        except putils.ProcessExecutionError:"},{"line_number":438,"context_line":"            msg \u003d (_LW(\"Could not find the iSCSI Initiator File %s\")"},{"line_number":439,"context_line":"                   % file_path)"},{"line_number":440,"context_line":"            LOG.warning(msg)"},{"line_number":441,"context_line":"            return None"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_0070fca2","line":438,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nThis was fine the way it was.\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":435,"context_line":"                if l.startswith(\u0027InitiatorName\u003d\u0027):"},{"line_number":436,"context_line":"                    return l[l.index(\u0027\u003d\u0027) + 1:].strip()"},{"line_number":437,"context_line":"        except putils.ProcessExecutionError:"},{"line_number":438,"context_line":"            msg \u003d (_LW(\"Could not find the iSCSI Initiator File %s\")"},{"line_number":439,"context_line":"                   % file_path)"},{"line_number":440,"context_line":"            LOG.warning(msg)"},{"line_number":441,"context_line":"            return None"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_09cd7b31","line":438,"in_reply_to":"9a80dd14_0070fca2","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log a warning so it needs to be translated using _LW().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":435,"context_line":"                if l.startswith(\u0027InitiatorName\u003d\u0027):"},{"line_number":436,"context_line":"                    return l[l.index(\u0027\u003d\u0027) + 1:].strip()"},{"line_number":437,"context_line":"        except putils.ProcessExecutionError:"},{"line_number":438,"context_line":"            msg \u003d (_LW(\"Could not find the iSCSI Initiator File %s\")"},{"line_number":439,"context_line":"                   % file_path)"},{"line_number":440,"context_line":"            LOG.warning(msg)"},{"line_number":441,"context_line":"            return None"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_b58c6c36","line":438,"in_reply_to":"9a80dd14_0070fca2","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        if len(host_devices) \u003d\u003d 0:"},{"line_number":708,"context_line":"            # this is empty because we don\u0027t have any FC HBAs"},{"line_number":709,"context_line":"            msg \u003d _LW(\"We are unable to locate any Fibre Channel devices\")"},{"line_number":710,"context_line":"            LOG.warning(msg)"},{"line_number":711,"context_line":"            raise exception.NoFibreChannelHostsFound()"},{"line_number":712,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_406594df","line":709,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nThis was fine the way it was.\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        if len(host_devices) \u003d\u003d 0:"},{"line_number":708,"context_line":"            # this is empty because we don\u0027t have any FC HBAs"},{"line_number":709,"context_line":"            msg \u003d _LW(\"We are unable to locate any Fibre Channel devices\")"},{"line_number":710,"context_line":"            LOG.warning(msg)"},{"line_number":711,"context_line":"            raise exception.NoFibreChannelHostsFound()"},{"line_number":712,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_e9ee678a","line":709,"in_reply_to":"9a80dd14_406594df","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log a warning so it needs to be translated using _LW().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":706,"context_line":""},{"line_number":707,"context_line":"        if len(host_devices) \u003d\u003d 0:"},{"line_number":708,"context_line":"            # this is empty because we don\u0027t have any FC HBAs"},{"line_number":709,"context_line":"            msg \u003d _LW(\"We are unable to locate any Fibre Channel devices\")"},{"line_number":710,"context_line":"            LOG.warning(msg)"},{"line_number":711,"context_line":"            raise exception.NoFibreChannelHostsFound()"},{"line_number":712,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_35787c2a","line":709,"in_reply_to":"9a80dd14_406594df","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":726,"context_line":"                    raise loopingcall.LoopingCallDone()"},{"line_number":727,"context_line":""},{"line_number":728,"context_line":"            if self.tries \u003e\u003d self.device_scan_attempts:"},{"line_number":729,"context_line":"                msg \u003d _LE(\"Fibre Channel volume device not found.\")"},{"line_number":730,"context_line":"                LOG.error(msg)"},{"line_number":731,"context_line":"                raise exception.NoFibreChannelVolumeDeviceFound()"},{"line_number":732,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_805b0c21","line":729,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nThis was fine the way it was.\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":726,"context_line":"                    raise loopingcall.LoopingCallDone()"},{"line_number":727,"context_line":""},{"line_number":728,"context_line":"            if self.tries \u003e\u003d self.device_scan_attempts:"},{"line_number":729,"context_line":"                msg \u003d _LE(\"Fibre Channel volume device not found.\")"},{"line_number":730,"context_line":"                LOG.error(msg)"},{"line_number":731,"context_line":"                raise exception.NoFibreChannelVolumeDeviceFound()"},{"line_number":732,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_49ea1375","line":729,"in_reply_to":"9a80dd14_805b0c21","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log an error so it needs to be translated using _LE().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":726,"context_line":"                    raise loopingcall.LoopingCallDone()"},{"line_number":727,"context_line":""},{"line_number":728,"context_line":"            if self.tries \u003e\u003d self.device_scan_attempts:"},{"line_number":729,"context_line":"                msg \u003d _LE(\"Fibre Channel volume device not found.\")"},{"line_number":730,"context_line":"                LOG.error(msg)"},{"line_number":731,"context_line":"                raise exception.NoFibreChannelVolumeDeviceFound()"},{"line_number":732,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_95904844","line":729,"in_reply_to":"9a80dd14_805b0c21","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"}],"os_brick/initiator/linuxfc.py":[{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":186,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":187,"context_line":"            msg \u003d _LW(\"unit_add call for s390 failed exit (%(code)s), \""},{"line_number":188,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":189,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def deconfigure_scsi_device(self, device_number, target_wwn, lun):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_20afc0e4","line":188,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nShould remove the _LW() here\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":186,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":187,"context_line":"            msg \u003d _LW(\"unit_add call for s390 failed exit (%(code)s), \""},{"line_number":188,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":189,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def deconfigure_scsi_device(self, device_number, target_wwn, lun):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_698997c9","line":188,"in_reply_to":"9a80dd14_20afc0e4","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log a warning so it needs to be translated using _LW().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":185,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":186,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":187,"context_line":"            msg \u003d _LW(\"unit_add call for s390 failed exit (%(code)s), \""},{"line_number":188,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":189,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def deconfigure_scsi_device(self, device_number, target_wwn, lun):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_359f9c51","line":188,"in_reply_to":"9a80dd14_20afc0e4","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":208,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":209,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":210,"context_line":"            msg \u003d _LW(\"unit_remove call for s390 failed exit (%(code)s), \""},{"line_number":211,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":212,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_60b53831","line":211,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nShould remove the _LW() here\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":208,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":209,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":210,"context_line":"            msg \u003d _LW(\"unit_remove call for s390 failed exit (%(code)s), \""},{"line_number":211,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":212,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_c98c43da","line":211,"in_reply_to":"9a80dd14_60b53831","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log a warning so it needs to be translated using _LW().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":208,"context_line":"            self.echo_scsi_command(zfcp_device_command, lun)"},{"line_number":209,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":210,"context_line":"            msg \u003d _LW(\"unit_remove call for s390 failed exit (%(code)s), \""},{"line_number":211,"context_line":"                      \"stderr (%(stderr)s)\")"},{"line_number":212,"context_line":"            LOG.warning(msg, {\u0027code\u0027: exc.exit_code, \u0027stderr\u0027: exc.stderr})"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_55aa5071","line":211,"in_reply_to":"9a80dd14_60b53831","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"}],"os_brick/initiator/linuxscsi.py":[{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"7437fb3b8ff1e78912f690a22e68e7354c9c0929","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                          root_helper\u003dself._root_helper)"},{"line_number":107,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":108,"context_line":"            msg \u003d _LW(\"Failed to flush IO buffers prior to removing\""},{"line_number":109,"context_line":"                      \" device: (%(code)s)\") % {\u0027code\u0027: exc.exit_code}"},{"line_number":110,"context_line":"            LOG.warning(msg)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def flush_multipath_device(self, device):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_80b22c47","line":109,"updated":"2015-03-18 22:15:14.000000000","message":"LOG markers shouldn\u0027t be used outside the context of the LOG.XXX() calls. \n\nThis was fine the way it was.\n\nhttp://docs.openstack.org/developer/oslo.i18n/guidelines.html#choosing-a-marker-function","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"0aeb252ffd12ce07df6b735f4c9a6b4643493cfe","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                          root_helper\u003dself._root_helper)"},{"line_number":107,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":108,"context_line":"            msg \u003d _LW(\"Failed to flush IO buffers prior to removing\""},{"line_number":109,"context_line":"                      \" device: (%(code)s)\") % {\u0027code\u0027: exc.exit_code}"},{"line_number":110,"context_line":"            LOG.warning(msg)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def flush_multipath_device(self, device):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_6977d7d4","line":109,"in_reply_to":"9a80dd14_80b22c47","updated":"2015-03-19 07:25:28.000000000","message":"The scenario you are talking about is true if the same messages is being used to log and to raise exception.\n\nHere this message is only used to log a warning so it needs to be translated using _LW().","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"},{"author":{"_account_id":10485,"name":"Ankit Agrawal","email":"ankitagrawal8188@gmail.com","username":"ankitagrawal"},"change_message_id":"87d89be02dc544093d4edcf1d459d7f06833229c","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                          root_helper\u003dself._root_helper)"},{"line_number":107,"context_line":"        except putils.ProcessExecutionError as exc:"},{"line_number":108,"context_line":"            msg \u003d _LW(\"Failed to flush IO buffers prior to removing\""},{"line_number":109,"context_line":"                      \" device: (%(code)s)\") % {\u0027code\u0027: exc.exit_code}"},{"line_number":110,"context_line":"            LOG.warning(msg)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def flush_multipath_device(self, device):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a80dd14_d5ad6085","line":109,"in_reply_to":"9a80dd14_80b22c47","updated":"2015-03-20 19:49:34.000000000","message":"To remove the confusion I have moved the message in to LOG call itself.","commit_id":"da59d912dcb3f2d12513d4e21d5d021db16dacd4"}]}
