plugins/__init__.py
changeset 10 2aff8e8cd456
child 11 75ae893d5eed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plugins/__init__.py	Thu Aug 16 12:03:00 2007 +0200
@@ -0,0 +1,6 @@
+from os import listdir, path
+
+l = listdir(path.split(__file__)[0])
+
+__all__ = [name[0:-3] for name in l if name.endswith(".py") and not name.startswith("__")]
+