plugins/__init__.py
author etisserant
Thu, 21 Feb 2008 11:42:33 +0100
changeset 105 434aed8dc58d
parent 83 ad4dafe7bfee
child 106 9810689febb0
permissions -rw-r--r--
Added ability to override plugin methods with arbitrary python code (methods.py) when loading plugins
from os import listdir, path

_base_path = path.split(__file__)[0]

__all__ = [name for name in listdir(_base_path) if path.isdir(path.join(_base_path, name)) and name.upper() != "CVS" or name.endswith(".py") and not name.startswith("__")]