plugins/__init__.py
author lbessard
Thu, 25 Oct 2007 16:59:17 +0200
changeset 66 b46237718b27
parent 17 ee8cb104dbe0
child 83 ad4dafe7bfee
permissions -rw-r--r--
Bug with raw code edit fixed
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 != "CVS" or name.endswith(".py") and not name.startswith("__")]