equal
deleted
inserted
replaced
1 from os import listdir, path |
1 from os import listdir, path |
2 from xmlclass import DeclareXSDClass |
2 from __templates import PlugTemplate |
3 from __templates import * |
|
4 |
3 |
5 _base_path = path.split(__file__)[0] |
4 _base_path = path.split(__file__)[0] |
6 |
5 |
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("__")] |
6 __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("__")] |
8 |
7 |
9 for name in __all__: |
8 #for name in __all__: |
10 __import__(name, globals(), locals(), []) |
9 # __import__(name, globals(), locals(), []) |
11 |
10 |