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

def confreader::configreader::ConfigReader::getSections (   self  ) 

Returns all the sections present in the configuration
      file except the DEFAULT and MAIL sections.

Definition at line 49 of file configreader.py.

00049                            :
            """ Returns all the sections present in the configuration
                  file except the DEFAULT and MAIL sections.
            """
            sections = self.configParser.sections()
            sections.remove("MAIL")
            logSys.debug("Found sections: " + `sections`)
            return sections
      
      # Each optionValues entry is composed of an array with:
      # 0 -> the type of the option
      # 1 -> the name of the option
      # 2 -> the default value for the option
      def getLogOptions(self, sec, options):


Generated by  Doxygen 1.6.0   Back to index