Logo Search packages:      
Sourcecode: cclib version File versions  Download package

def cclib::parser::logfileparser::Logfile::updateprogress (   self,
  inputfile,
  msg,
  xupdate = 0.05 
) [inherited]
Update progress.

Definition at line 268 of file logfileparser.py.

                                                          :
        """Update progress."""

        if self.progress and random.random() < xupdate:
            newstep = inputfile.tell()
            if newstep != self.progress.step:
                self.progress.update(newstep, msg)
                self.progress.step = newstep


Generated by  Doxygen 1.6.0   Back to index