Пример #1
0
    def __init__(self, path):
        """Inicializuj resolver.

        Argumenty:

          path -- cesta ke specifikačním souborům; string, nebo sekvence
            stringů

        """
        super(FileResolver, self).__init__()
        self._path = xlist(path)
Пример #2
0
    def __init__(self, path):
        """Inicializuj resolver.

        Argumenty:

          path -- cesta ke specifikačním souborům; string, nebo sekvence
            stringů

        """
        super(FileResolver, self).__init__()
        self._path = xlist(path)
Пример #3
0
    def __init__(self, path, extension=None):
        """
        Arguments:

          path -- path to the specification files; string or sequence of strings
          extension -- if not 'None', it is a string to apppend to the
            constructed final file name together with a preceding dot

        """
        super(PlainFileResolver, self).__init__()
        self._path = xlist(path)
        self._extension = extension
Пример #4
0
    def __init__(self, path, extension=None):
        """
        Arguments:

          path -- path to the specification files; string or sequence of strings
          extension -- if not 'None', it is a string to apppend to the
            constructed final file name together with a preceding dot

        """
        super(PlainFileResolver, self).__init__()
        self._path = xlist(path)
        self._extension = extension