def _get_skippers(configure, file_name=None):
        """
        Returns the skippers of configuration.

        :param configure: The configuration of HaTeMiLe.
        :type configure: hatemile.util.configure.Configure
        :param file_name: The file path of skippers configuration.
        :type file_name: str
        :return: The skippers of configuration.
        :rtype: list(dict(str, str))
        """

        skippers = []
        if file_name is None:
            file_name = os.path.join(os.path.dirname(os.path.dirname(
                os.path.dirname(os.path.realpath(__file__))
            )), 'skippers.xml')
        xmldoc = minidom.parse(file_name)
        skippers_xml = xmldoc.getElementsByTagName(
            'skippers'
        )[0].getElementsByTagName('skipper')
        for skipper_xml in skippers_xml:
            skippers.append({
                'selector': skipper_xml.attributes['selector'].value,
                'description': configure.get_parameter(
                    skipper_xml.attributes['description'].value
                ),
                'shortcut': skipper_xml.attributes['shortcut'].value
            })
        return skippers
def _get_skippers ( configure , file_name = None ) : skippers = [ ] if file_name is None : file_name = os . path . join ( os . path . dirname ( os . path . dirname ( os . path . dirname ( os . path . realpath ( __file__ ) ) ) ) , 'skippers.xml' ) xmldoc = minidom . parse ( file_name ) skippers_xml = xmldoc . getElementsByTagName ( 'skippers' ) [ 0 ] . getElementsByTagName ( 'skipper' ) for skipper_xml in skippers_xml : skippers . append ( { 'selector' : skipper_xml . attributes [ 'selector' ] . value , 'description' : configure . get_parameter ( skipper_xml . attributes [ 'description' ] . value ) , 'shortcut' : skipper_xml . attributes [ 'shortcut' ] . value } ) return skippers
Returns the skippers of configuration.

        :param configure: The configuration of HaTeMiLe.
        :type configure: hatemile.util.configure.Configure
        :param file_name: The file path of skippers configuration.
        :type file_name: str
        :return: The skippers of configuration.
        :rtype: list(dict(str, str))