summaryrefslogtreecommitdiff
path: root/git/objects/submodule/base.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-06 16:16:35 +0100
committerYobmod <yobmod@gmail.com>2021-07-06 16:16:35 +0100
commit8d2a7703259967f0438a18b5cbc80ee060e15866 (patch)
tree2786edb040ecf51eb912a0eda8163d032567c565 /git/objects/submodule/base.py
parentc0ab23e5d0afce4a85a8af7ec2a360bf6c71c4ac (diff)
downloadgitpython-8d2a7703259967f0438a18b5cbc80ee060e15866.tar.gz
Rmv diff typeguard
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r--git/objects/submodule/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py
index 499b2b30..60ff1155 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] # type: ignore
+ sm = repo.head.commit.tree[path] # type: ignore
sm._name = name
return sm
except KeyError: