Show More
@@ -575,9 +575,9 b' def groupname(gid=None):' | |||
|
575 | 575 | if gid is None: |
|
576 | 576 | gid = os.getgid() |
|
577 | 577 | try: |
|
578 | return grp.getgrgid(gid)[0] | |
|
578 | return pycompat.fsencode(grp.getgrgid(gid)[0]) | |
|
579 | 579 | except KeyError: |
|
580 | return str(gid) | |
|
580 | return pycompat.bytestr(gid) | |
|
581 | 581 | |
|
582 | 582 | def groupmembers(name): |
|
583 | 583 | """Return the list of members of the group with the given |
General Comments 0
You need to be logged in to leave comments.
Login now