Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6271660

Browse files
committed
Rmv submodule.base Repo assert
1 parenta024bdd commit6271660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/submodule/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def add(cls, repo: 'Repo', name: str, path: PathLike, url: Union[str, None] = No
425425
raiseValueError("A URL was not given and a repository did not exist at %s"%path)
426426
# END check url
427427
mrepo=sm.module()
428-
assertisinstance(mrepo,Repo)
428+
#assert isinstance(mrepo,git.Repo)
429429
urls= [r.urlforrinmrepo.remotes]
430430
ifnoturls:
431431
raiseValueError("Didn't find any remote url in repository at %s"%sm.abspath)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp