Skip to content

Commit

Permalink
Expose the proper name (entry._entry.name)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecjharries committed Mar 17, 2018
1 parent 6ef0abb commit f471b6d
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 ffi.string(entry.name).decode('utf-8')
return ffi.string(entry._entry.name).decode('utf-8')


class ConfigMultivarIterator(ConfigIterator):
Expand Down

0 comments on commit f471b6d

Please sign in to comment.