##// END OF EJS Templates
py3: do a fsdecode(), fsencode() dance in posix.py...
Pulkit Goyal -
r41664:3ef8bec9 default
parent child Browse files
Show More
@@ -583,8 +583,8 b' def groupmembers(name):'
583 """Return the list of members of the group with the given
583 """Return the list of members of the group with the given
584 name, KeyError if the group does not exist.
584 name, KeyError if the group does not exist.
585 """
585 """
586 name = pycompat.sysstr(name)
586 name = pycompat.fsdecode(name)
587 return list(grp.getgrnam(name).gr_mem)
587 return pycompat.rapply(pycompat.fsencode, list(grp.getgrnam(name).gr_mem))
588
588
589 def spawndetached(args):
589 def spawndetached(args):
590 return os.spawnvp(os.P_NOWAIT | getattr(os, 'P_DETACH', 0),
590 return os.spawnvp(os.P_NOWAIT | getattr(os, 'P_DETACH', 0),
General Comments 0
You need to be logged in to leave comments. Login now