summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-24 22:05:06 +0100
committerYobmod <yobmod@gmail.com>2021-07-24 22:05:06 +0100
commitd812818cb20c39e0bb5609186214ea4bcc18c047 (patch)
tree59caeb4d7a9d0ee97553ce09ad5c19e85d76134d /git/remote.py
parent2bc2ac02e270404fcb609eeacc4feea6146b9d2e (diff)
downloadgitpython-d812818cb20c39e0bb5609186214ea4bcc18c047.tar.gz
Rmv with_metaclass shim, make section constraint generic wrt its configparser type
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 7da466e6..11007cb6 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -23,6 +23,7 @@ from git.util import (
)
from .config import (
+ GitConfigParser,
SectionConstraint,
cp,
)
@@ -911,7 +912,7 @@ class Remote(LazyMixin, IterableObj):
return self._get_push_info(proc, progress)
@ property
- def config_reader(self) -> SectionConstraint:
+ def config_reader(self) -> SectionConstraint[GitConfigParser]:
"""
:return:
GitConfigParser compatible object able to read options for only our remote.