fix merge conflicts
authorGiovanni Gherdovich <ggherdov@brentaal.inria.fr>
Thu, 7 Oct 2010 12:40:19 +0000 (14:40 +0200)
committerGiovanni Gherdovich <ggherdov@brentaal.inria.fr>
Thu, 7 Oct 2010 12:40:19 +0000 (14:40 +0200)
1  2 
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()