| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3786307 commit de540b7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,7 +26,6 @@ | |||
| 26 | 26 | from .base import IndexObject, Object | |
| 27 | 27 | from .blob import Blob | |
| 28 | 28 | from .commit import Commit | |
| 29 | - from .submodule.base import Submodule, UpdateProgress | ||
| 30 | - from .submodule.root import RootModule, RootUpdateProgress | ||
| 29 | + from .submodule import RootModule, RootUpdateProgress, Submodule, UpdateProgress | ||
| 31 | 30 | from .tag import TagObject | |
| 32 | 31 | from .tree import Tree, TreeModifier | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,16 @@ | |||
| 1 | 1 | # This module is part of GitPython and is released under the | |
| 2 | 2 | # 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/ | |
| 3 | 3 | ||
| 4 | - # NOTE: Cannot import anything here as the top-level __init__ has to handle | ||
| 5 | - # our dependencies. | ||
| 4 | + __all__ = [ | ||
| 5 | + "base", | ||
| 6 | + "root", | ||
| 7 | + "util", | ||
| 8 | + "Submodule", | ||
| 9 | + "UpdateProgress", | ||
| 10 | + "RootModule", | ||
| 11 | + "RootUpdateProgress", | ||
| 12 | + ] | ||
| 13 | + | ||
| 14 | + from . import base, root, util | ||
| 15 | + from .base import Submodule, UpdateProgress | ||
| 16 | + from .root import RootModule, RootUpdateProgress | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments