Skip to content

Commit

Permalink
Return a ConfigEntry from _next_entry
Browse files Browse the repository at this point in the history
  • Loading branch information
thecjharries committed Mar 17, 2018
1 parent f48d0d8 commit 6ef0abb
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 @@ -56,7 +56,7 @@ def _next_entry(self):
err = C.git_config_next(centry, self._iter)
check_error(err)

return centry[0]
return ConfigEntry._from_c(centry[0], True)

def next(self):
return self.__next__()
Expand Down

0 comments on commit 6ef0abb

Please sign in to comment.