Skip to content

Commit 1114828

Browse files
committed
Remove obsolete comment in Submodule.module
The local (i.e. late) import was removed in 7b3ef45, but the comment about it on (what was) the preceding line has persisted until now.
1 parent ab46192 commit 1114828

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: git/objects/submodule/base.py

-1
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,6 @@ def module(self) -> "Repo":
12171217
""":return: Repo instance initialized from the repository at our submodule path
12181218
:raise InvalidGitRepositoryError: if a repository was not available. This could
12191219
also mean that it was not yet initialized"""
1220-
# late import to workaround circular dependencies
12211220
module_checkout_abspath = self.abspath
12221221
try:
12231222
repo = git.Repo(module_checkout_abspath)

0 commit comments

Comments
 (0)