Remove plugin path from sys.path after importing. If we scan multiple plugin dirs and never remove the path from sys.path, it is hard to predict from which path python will import a package. The chance that the same plugin package is in multiple plugin paths is high. |
||
---|---|---|
.. | ||
__init__.py | ||
gajimplugin.py | ||
gui.py | ||
helpers.py | ||
pluginmanager.py | ||
plugins_i18n.py |