1 parent ab46192 commit 1114828Copy full SHA for 1114828
git/objects/submodule/base.py
@@ -1217,7 +1217,6 @@ def module(self) -> "Repo":
1217
""":return: Repo instance initialized from the repository at our submodule path
1218
:raise InvalidGitRepositoryError: if a repository was not available. This could
1219
also mean that it was not yet initialized"""
1220
- # late import to workaround circular dependencies
1221
module_checkout_abspath = self.abspath
1222
try:
1223
repo = git.Repo(module_checkout_abspath)
0 commit comments