From fafe8a77db75083de3e7af92185ecdb7f2d542d3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 21 Nov 2010 19:17:48 +0100 Subject: moved all contents, incl. submodule gitdb, up to the root directory --- objects/__init__.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 objects/__init__.py (limited to 'objects/__init__.py') 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 -- cgit v1.2.3