| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c58be4c commit 01c95eb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,17 +8,10 @@ | |||
| 8 | 8 | from .base import * # noqa: F403 | |
| 9 | 9 | from .blob import * # noqa: F403 | |
| 10 | 10 | from .commit import * # noqa: F403 | |
| 11 | - from .submodule import util as smutil | ||
| 12 | 11 | from .submodule.base import * # noqa: F403 | |
| 13 | 12 | from .submodule.root import * # noqa: F403 | |
| 14 | 13 | from .tag import * # noqa: F403 | |
| 15 | 14 | from .tree import * # noqa: F403 | |
| 16 | 15 | ||
| 17 | - # Fix import dependency - add IndexObject to the util module, so that it can be imported | ||
| 18 | - # by the submodule.base. | ||
| 19 | - smutil.IndexObject = IndexObject # type: ignore[attr-defined] # noqa: F405 | ||
| 20 | - smutil.Object = Object # type: ignore[attr-defined] # noqa: F405 | ||
| 21 | - del smutil | ||
| 22 | - | ||
| 23 | 16 | # Must come after submodule was made available. | |
| 24 | 17 | __all__ = [name for name, obj in locals().items() if not (name.startswith("_") or inspect.ismodule(obj))] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments