Nir Soffer has posted comments on this change.
Change subject: qemuimg: Add the command to QImgError ......................................................................
Patch Set 5: Code-Review+1
(2 comments)
Looks good, just minor indentation issue.
https://gerrit.ovirt.org/#/c/65179/4/lib/vdsm/qemuimg.py File lib/vdsm/qemuimg.py:
Line 219: self._aborted = False Line 220: self._progress = 0.0 Line 221: Line 222: self._stdout = bytearray() Line 223: self._stderr = bytearray() Please move cmd to next line... Line 224: Line 225: self.cmd = cmdutils.wrap_command(cmd, Line 226: with_nice=utils.NICENESS.HIGH, Line 227: with_ioclass=utils.IOCLASS.IDLE)
https://gerrit.ovirt.org/#/c/65179/5/lib/vdsm/qemuimg.py File lib/vdsm/qemuimg.py:
Line 223: self._stderr = bytearray() Line 224: Line 225: self.cmd = cmdutils.wrap_command(cmd, Line 226: with_nice=utils.NICENESS.HIGH, Line 227: with_ioclass=utils.IOCLASS.IDLE) And indent all the params one per line, starting at column 5. Line 228: _log.debug(cmdutils.command_log_line(self.cmd, cwd=cwd)) Line 229: self._command = CPopen(self.cmd, cwd=cwd, Line 230: deathSignal=signal.SIGKILL) Line 231: self._stream = utils.CommandStream(