diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-06 15:43:56 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-06 15:43:56 +0100 |
commit | ed58e2f840749bb4dabd384b812ecb259dc60304 (patch) | |
tree | 1195590f55545c16e02cc95e2a6dca57cfb95991 /git/objects/submodule/base.py | |
parent | e6f340cf8617ceb99f6da5f3db902a69308cdec7 (diff) | |
download | gitpython-ed58e2f840749bb4dabd384b812ecb259dc60304.tar.gz |
Rmv runtime_checkable < py3.8 pt2
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 514fcfea..ca408338 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -142,7 +142,7 @@ class Submodule(IndexObject, TraversableIterableObj): reader: SectionConstraint = self.config_reader() # default submodule values try: - self.path = reader.get('path') + self.path: PathLike = reader.get('path') except cp.NoSectionError as e: if self.repo.working_tree_dir is not None: raise ValueError("This submodule instance does not exist anymore in '%s' file" |