diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-21 19:17:48 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-21 19:17:48 +0100 |
commit | fafe8a77db75083de3e7af92185ecdb7f2d542d3 (patch) | |
tree | 0b2d17ca62fc1f986bbaefe8ca6ea641e3fa2d8d /objects/__init__.py | |
parent | 0b813371f5a8af95152cae109d28c7c97bfaf79f (diff) | |
download | gitpython-fafe8a77db75083de3e7af92185ecdb7f2d542d3.tar.gz |
moved all contents, incl. submodule gitdb, up to the root directory
Diffstat (limited to 'objects/__init__.py')
-rw-r--r-- | objects/__init__.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/objects/__init__.py b/objects/__init__.py new file mode 100644 index 00000000..e8e0ef39 --- /dev/null +++ b/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 +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 * +from util import Actor + +__all__ = [ name for name, obj in locals().items() + if not (name.startswith('_') or inspect.ismodule(obj)) ]
\ No newline at end of file |