perceval/backends/core/supybot.py
def _parse_supybot_timestamp(self, line):
        """Parse timestamp section"""

        m = self.SUPYBOT_TIMESTAMP_REGEX.match(line)

        if not m:
            msg = "date expected on line %s" % (str(self.nline))
            raise ParseError(cause=msg)

        ts = m.group('ts')
        msg = m.group('msg')

        return ts, msg
def _parse_supybot_timestamp(self, line):
        m = self.SUPYBOT_TIMESTAMP_REGEX.match(line)

        if not m:
            msg = "date expected on line %s" % (str(self.nline))
            raise ParseError(cause=msg)

        ts = m.group('ts')
        msg = m.group('msg')

        return ts, msg
def _parse_supybot_timestamp ( self , line ) : m = self . SUPYBOT_TIMESTAMP_REGEX . match ( line ) if not m : msg = "date expected on line %s" % ( str ( self . nline ) ) raise ParseError ( cause = msg ) ts = m . group ( 'ts' ) msg = m . group ( 'msg' ) return ts , msg
Parse timestamp section
Parse timestamp section