diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-09 14:33:15 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-09 14:33:15 +0100 |
commit | 627166094f9280a3e00b755b754a4bd6ed72bb66 (patch) | |
tree | d659346d8dc6b31304de79ae41342e2b71c09bed /git/objects/submodule | |
parent | a024bddd2a36c67967eda4e9f931c648924f0b19 (diff) | |
download | gitpython-627166094f9280a3e00b755b754a4bd6ed72bb66.tar.gz |
Rmv submodule.base Repo assert
Diffstat (limited to 'git/objects/submodule')
-rw-r--r-- | git/objects/submodule/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index f366e44c..b485dbf6 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -425,7 +425,7 @@ class Submodule(IndexObject, TraversableIterableObj): raise ValueError("A URL was not given and a repository did not exist at %s" % path) # END check url mrepo = sm.module() - assert isinstance(mrepo, Repo) + # assert isinstance(mrepo, git.Repo) urls = [r.url for r in mrepo.remotes] if not urls: raise ValueError("Didn't find any remote url in repository at %s" % sm.abspath) |