From: Giovanni Gherdovich Date: Thu, 7 Oct 2010 12:40:19 +0000 (+0200) Subject: fix merge conflicts X-Git-Tag: sface-0.1-4~13 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=8f437c02a1aedd746d4a7b4c51042483e2939d50 fix merge conflicts --- 8f437c02a1aedd746d4a7b4c51042483e2939d50 diff --cc sface/sfiprocess.py index ca2c023,8e5e371..bf37de5 --- a/sface/sfiprocess.py +++ b/sface/sfiprocess.py @@@ -55,18 -41,10 +55,17 @@@ class SfiProcess(QObject) return self.process.state() != QProcess.NotRunning def processStandardOutput(self): - output = self.process.readAllStandardOutput() + # NOTE: The signal readyReadStandardOutput is emitted when + # the process has made new data available through its standard output channel. + # But the process is not necessarily finished. + # It's cool to have this method wo we print the stdOut live, + # but we must be carefull with self.output, used by xmlTracker too. + print "SETTING SELF.OUTPUT" + tmpOut = self.process.readAllStandardOutput() if config.debug: - print output + print tmpOut + self.output += tmpOut - def processStandardError(self): print self.process.readAllStandardError()