Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1114828

Browse filesBrowse 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
Copy full SHA for 1114828

File tree

Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-1
lines changed

‎git/objects/submodule/base.py

Copy file name to clipboardExpand all lines: git/objects/submodule/base.py
-1Lines changed: 0 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.