mercurial/posix.py
changeset 41504 587a3c976892
parent 41289 593f6359681d
child 41523 3ef8bec91465
--- a/mercurial/posix.py	Wed Jan 30 03:50:31 2019 +0530
+++ b/mercurial/posix.py	Sat Feb 02 04:49:42 2019 +0530
@@ -583,6 +583,7 @@
     """Return the list of members of the group with the given
     name, KeyError if the group does not exist.
     """
+    name = pycompat.sysstr(name)
     return list(grp.getgrnam(name).gr_mem)
 
 def spawndetached(args):