コード例 #1
0
    def _adder_standard_output(self):
        standard_output = self._adder_process.readAllStandardOutput().data()
        Terminal.snapshoter_message(standard_output, ' add -A -v')

        if not self._n_file_changed:
            return

        self._n_file_treated += len(standard_output.splitlines()) - 1

        self.session.send_gui('/ray/gui/server/progress',
                              self._n_file_treated / self._n_file_changed)
コード例 #2
0
 def _standard_output(self):
     standard_output = self._git_process.readAllStandardOutput().data()
     Terminal.snapshoter_message(standard_output, self._git_command)
コード例 #3
0
 def _standard_error(self):
     standard_error = self._git_process.readAllStandardError().data()
     Terminal.snapshoter_message(standard_error, self._git_command)