From 55604ca42be1ef9e5e3b36e5b45703b630f98fe8 Mon Sep 17 00:00:00 2001 From: CJ Harries Date: Fri, 16 Mar 2018 19:57:25 -0500 Subject: [PATCH] Return properly decoded entry.name --- pygit2/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygit2/config.py b/pygit2/config.py index 5854721b..ce8cdb97 100644 --- a/pygit2/config.py +++ b/pygit2/config.py @@ -63,7 +63,7 @@ def next(self): def __next__(self): entry = self._next_entry() - return ffi.string(entry.name).decode('utf-8') + return entry.name class ConfigMultivarIterator(ConfigIterator):