author | etisserant |
Tue, 21 Aug 2007 17:21:26 +0200 | |
changeset 12 | a1f9e514f708 |
parent 11 | 75ae893d5eed |
child 13 | f1f0edbeb313 |
permissions | -rw-r--r-- |
10 | 1 |
from os import listdir, path |
12 | 2 |
from xmlclass import DeclareXSDClass |
3 |
from __templates import * |
|
10 | 4 |
|
12 | 5 |
_base_path = path.split(__file__)[0] |
10 | 6 |
|
12 | 7 |
__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("__")] |
10 | 8 |
|
11 | 9 |
for name in __all__: |
10 |
__import__(name, globals(), locals(), []) |
|
12 | 11 |