diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-06 16:04:06 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-06 16:04:06 +0100 |
commit | c0ab23e5d0afce4a85a8af7ec2a360bf6c71c4ac (patch) | |
tree | 07eb82ecdf3a2d9f8f0ff13ed92b479cf8f3d93e /git/objects/submodule/base.py | |
parent | 6aebb73bb818d91c275b94b6052d8ce4ddc113c6 (diff) | |
download | gitpython-c0ab23e5d0afce4a85a8af7ec2a360bf6c71c4ac.tar.gz |
Rmv submodule types2
Diffstat (limited to 'git/objects/submodule/base.py')
-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 c95b66f2..499b2b30 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -391,7 +391,7 @@ class Submodule(IndexObject, TraversableIterableObj): if sm.exists(): # reretrieve submodule from tree try: - sm = repo.head.commit.tree[path] + sm = repo.head.commit.tree[path] # type: ignore sm._name = name return sm except KeyError: |