summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 12129460..4a8a5ee9 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -445,7 +445,7 @@ class Remote(LazyMixin, Iterable):
def iter_items(cls, repo):
""":return: Iterator yielding Remote objects of the given repository"""
for section in repo.config_reader("repository").sections():
- if not section.startswith('remote'):
+ if not section.startswith('remote '):
continue
lbound = section.find('"')
rbound = section.rfind('"')