diff options
author | Trym Bremnes <trym.bremnes@gmail.com> | 2021-10-02 16:42:35 +0200 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-10-03 19:28:45 +0800 |
commit | ce4afe46d211cdfb611b8e8109bb0dc160a12540 (patch) | |
tree | c05060c7b2b125af158f3454ea2d9fb458fcc8dc /git/objects | |
parent | 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5 (diff) | |
download | gitpython-ce4afe46d211cdfb611b8e8109bb0dc160a12540.tar.gz |
Revert "Replace wildcard imports with concrete imports"
This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5.
The reason for the revert is that the commit in question introduced a
regression where certain modules, functions and classes that were
exposed before were no longer exposed.
See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204
for additional information.
Diffstat (limited to 'git/objects')
-rw-r--r-- | git/objects/__init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/git/objects/__init__.py b/git/objects/__init__.py index c4a49227..1d0bb7a5 100644 --- a/git/objects/__init__.py +++ b/git/objects/__init__.py @@ -4,14 +4,14 @@ Import all submodules main classes into the package space # flake8: noqa import inspect -from .base import Object, IndexObject -from .blob import Blob -from .commit import Commit +from .base import * +from .blob import * +from .commit import * from .submodule import util as smutil -from .submodule.base import Submodule, UpdateProgress -from .submodule.root import RootModule, RootUpdateProgress -from .tag import TagObject -from .tree import Tree +from .submodule.base import * +from .submodule.root import * +from .tag import * +from .tree import * # Fix import dependency - add IndexObject to the util module, so that it can be # imported by the submodule.base smutil.IndexObject = IndexObject # type: ignore[attr-defined] |