(self)
return level, force
Return meta data suported by this ext as a tuple
Return meta data suported by this ext as a tuple
Return meta data suported by this ext as a tuple
def _get_meta(self):
        """ Return meta data suported by this ext as a tuple """
        level = int(self.config['level']) - 1
        force = self._str2bool(self.config['forceid'])
        if hasattr(self.md, 'Meta'):
            if self.md.Meta.has_key('header_level'):
                level = int(self.md.Meta['header_level'][0]) - 1
            if self.md.Meta.has_key('header_forceid'): 
                force = self._str2bool(self.md.Meta['header_forceid'][0])
        return level, force
def _get_meta ( self ) : level = int ( self . config [ 'level' ] ) - 1 force = self . _str2bool ( self . config [ 'forceid' ] ) if hasattr ( self . md , 'Meta' ) : if self . md . Meta . has_key ( 'header_level' ) : level = int ( self . md . Meta [ 'header_level' ] [ 0 ] ) - 1 if self . md . Meta . has_key ( 'header_forceid' ) : force = self . _str2bool ( self . md . Meta [ 'header_forceid' ] [ 0 ] ) return level , force