Logo Search packages:      
Sourcecode: viridian version File versions  Download package

def AmpacheTools::AmpacheGUI::AmpacheGUI::__import_plugin (   self,
  plugin_name 
) [private]
Import the given plugin

Definition at line 3320 of file AmpacheGUI.py.

                                            :
            """Import the given plugin"""
            sys.path.append(PLUGINS_DIR)
            try:
                  module = __import__(plugin_name)
                  plugin = module.__init__()
            except:
                  plugin = None
            sys.path.remove(PLUGINS_DIR)
            return plugin



Generated by  Doxygen 1.6.0   Back to index