Exemple #1
0
 def _read_plugin_descriptions(self):
     for path in library.get_resource_paths('plugin'):
         for dirname in os.listdir(path):
             if dirname == '.svn':
                 continue
             plugindir = os.path.join(path, dirname)
             if not os.path.isdir(plugindir):
                 continue
             filename = os.path.join(plugindir, dirname + '.plugin')
             if not os.path.exists(filename):
                 continue
             self._register_plugin_description(filename)
Exemple #2
0
 def _read_plugin_descriptions(self):
     for path in library.get_resource_paths('plugin'):
         for filename in glob.iglob(os.path.join(path, '*', '*.plugin')):
             self._register_plugin_description(filename)
Exemple #3
0
 def _read_plugin_descriptions(self):
     for path in library.get_resource_paths('plugin'):
         for filename in glob.iglob(os.path.join(path, '*', '*.plugin')):
             self._register_plugin_description(filename)