def plugins_load():
global pluginmgr<EOL>if pluginmgr is not None:<EOL><INDENT>plugins_close()<EOL><DEDENT>pluginmgr = PluginManager([])<EOL>
Load plugins from various sources:

- dgit/plugins
- dgit_extensions package