Skip to content

Commit

Permalink
Return entry, a ConfigEntry from ConfigIterator.__next__
Browse files Browse the repository at this point in the history
  • Loading branch information
thecjharries committed Mar 17, 2018
1 parent 835e711 commit e7798bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygit2/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def next(self):

def __next__(self):
entry = self._next_entry()
return entry.name
return entry


class ConfigMultivarIterator(ConfigIterator):
Expand Down

0 comments on commit e7798bb

Please sign in to comment.