Jelmer Vernooij %!s(int64=6) %!d(string=hai) anos
pai
achega
afe4d2e27a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -130,7 +130,7 @@ def _get_default_identity():
         fullname = None
     else:
         try:
-            fullname = pwd.getpwnam(username).pw_gecos.split(',')[0]
+            fullname = pwd.getpwnam(username).pw_gecos.split(',')[0].decode('utf-8')
         except KeyError:
             fullname = None
     if not fullname: