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

def logreader::logreader::LogReader::hasTime (   self,
  line 
)

Return true if the line contains a date

Definition at line 181 of file logreader.py.

00181                              :
            """ Return true if the line contains a date
            """
            timeMatch = re.search(self.timeregex, line)
            if timeMatch:
                  return True
            else:
                  return False
      
      def getTime(self, line):


Generated by  Doxygen 1.6.0   Back to index