diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-25 17:01:25 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-25 17:01:25 +0100 |
commit | cb68eef0865df6aedbc11cd81888625a70da6777 (patch) | |
tree | bd3018e6257574687b271b6c2e652ef943657471 /git/objects/__init__.py | |
parent | 65747a216c67c3101c6ae2edaa8119d786b793cb (diff) | |
download | gitpython-cb68eef0865df6aedbc11cd81888625a70da6777.tar.gz |
Moved everything into the git subdirectory - some tests still need to be adjusted
Diffstat (limited to 'git/objects/__init__.py')
-rw-r--r-- | git/objects/__init__.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/git/objects/__init__.py b/git/objects/__init__.py new file mode 100644 index 00000000..77f69d29 --- /dev/null +++ b/git/objects/__init__.py @@ -0,0 +1,21 @@ +""" +Import all submodules main classes into the package space +""" +import inspect +from base import * +# Fix import dependency - add IndexObject to the util module, so that it can be +# imported by the submodule.base +import submodule.util +submodule.util.IndexObject = IndexObject +submodule.util.Object = Object +from submodule.base import * +from submodule.root import * + +# must come after submodule was made available +from tag import * +from blob import * +from commit import * +from tree import * + +__all__ = [ name for name, obj in locals().items() + if not (name.startswith('_') or inspect.ismodule(obj)) ]
\ No newline at end of file |