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

def dbtexmf::dblatex::grubber::logparser::LogParser::update_page (   self,
  line,
  before 
)

Parse the given line and return the number of the page that is being
built after that line, assuming the current page before the line was
`before'.

Definition at line 345 of file logparser.py.

00345                                         :
        """
        Parse the given line and return the number of the page that is being
        built after that line, assuming the current page before the line was
        `before'.
        """
        ms = self.re_page.findall(line)
        if ms == []:
            return before
        return int(ms[-1]) + 1



Generated by  Doxygen 1.6.0   Back to index