summaryrefslogtreecommitdiff
path: root/lib/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/remote.py')
-rw-r--r--lib/git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/remote.py b/lib/git/remote.py
index 6a9c0efb..4ecae813 100644
--- a/lib/git/remote.py
+++ b/lib/git/remote.py
@@ -7,7 +7,7 @@
Module implementing a remote object allowing easy access to git remotes
"""
-from git.utils import LazyMixin, Iterable
+from git.utils import LazyMixin, Iterable, IterableList
from refs import RemoteReference
class _SectionConstraint(object):
@@ -121,7 +121,7 @@ class Remote(LazyMixin, Iterable):
Returns
List of RemoteRef objects
"""
- out_refs = list()
+ out_refs = IterableList(RemoteReference._id_attribute_)
for ref in RemoteReference.list_items(self.repo):
if ref.remote_name == self.name:
out_refs.append(ref)