plugins/__init__.py
author lbessard
Fri, 21 Dec 2007 17:25:53 +0100
changeset 83 ad4dafe7bfee
parent 17 ee8cb104dbe0
child 106 9810689febb0
permissions -rw-r--r--
Bugs with windows 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.upper() != "CVS" or name.endswith(".py") and not name.startswith("__")]