Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9172cc48ec
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (16 sloc) 0.432 kb
import os
_pluginList = []
for item in os.listdir(__path__[0]):
if not item.startswith('_') and item.endswith('.py'):
item = item[:-3]
_imports = __import__('plugins', fromlist=_pluginList)
allPlugins = []
for module in _pluginList:
locals()[module] = getattr(_imports, module)
allPlugins.append(getattr(_imports, module))
del _pluginList
del _imports
del item
del module
del os
Jump to Line
Something went wrong with that request. Please try again.