コード例 #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
ファイル: resolver.py プロジェクト: brailcom/pytis
    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
ファイル: resolver.py プロジェクト: nicLucian/pytis
    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
ファイル: resolver.py プロジェクト: brailcom/pytis
    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