summaryrefslogtreecommitdiff
path: root/objects/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'objects/__init__.py')
-rw-r--r--objects/__init__.py21
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