LogoSearch packages:      

Sourcecode: screenlets version File versions  Download package

def lib::utils::IniReader::get_option (   self,
  name,
  section = '' 
)

Get a variable from the config (optional: only get vars from the 
specified section).

Definition at line 177 of file utils.py.

00177                                              :
            """Get a variable from the config (optional: only get vars from the 
            specified section)."""
            if section != '':
                  l = self.sections[section]
            else:
                  l = self.options
            for o in l:
                  if o[0] == name:
                        return o[1]
            return None
      
      def has_section (self, name):


Generated by  Doxygen 1.5.1   Back to index