コード例 #1
0
 def _callFUT(self,
              prefix,
              name,
              checkProduct=1,
              suffixes=('', ),
              cfg=None):
     from App.Extensions import getPath
     return getPath(prefix, name, checkProduct, suffixes, cfg)
コード例 #2
0
 def filepath(self):
     if not hasattr(self, '_v_filepath'):
         self._v_filepath = getPath('Extensions', self._module,
                                    suffixes=('', 'py', 'pyc', 'pyp'))
     return self._v_filepath
コード例 #3
0
ファイル: test_Extensions.py プロジェクト: pigaov10/plone4.3
    def _callFUT(self, prefix, name, checkProduct=1, suffixes=("",), cfg=None):
        from App.Extensions import getPath

        return getPath(prefix, name, checkProduct, suffixes, cfg)
コード例 #4
0
 def filepath(self):
     if not hasattr(self, '_v_filepath'):
         self._v_filepath = getPath('Extensions',
                                    self._module,
                                    suffixes=('', 'py', 'pyc', 'pyp'))
     return self._v_filepath
コード例 #5
0
ファイル: ExternalMethod.py プロジェクト: urska19/Plone-test
 def filepath(self):
     if not hasattr(self, "_v_filepath"):
         self._v_filepath = getPath("Extensions", self._module, suffixes=("", "py", "pyc", "pyp"))
     return self._v_filepath