diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-05 18:47:44 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-05 18:47:44 +0100 |
commit | c2317a768f4d6b72b9c20d4fbe455af8a0d77c36 (patch) | |
tree | f3ff3c2661680c93e36cd1ec9f4258d7e890c3bc /git/objects/submodule/base.py | |
parent | 23b5d6b434551e1df1c954ab5d2c0166f080fba8 (diff) | |
download | gitpython-c2317a768f4d6b72b9c20d4fbe455af8a0d77c36.tar.gz |
Make bytesIO forwardref
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 25f88b37..7cd4356e 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -392,7 +392,7 @@ class Submodule(IndexObject, TraversableIterableObj): if sm.exists(): # reretrieve submodule from tree try: - sm = repo.head.commit.tree[path] + sm = repo.head.commit.tree[str(path)] sm._name = name return sm except KeyError: |