Show More
@@ -420,7 +420,7 b' def readpathlist(stream):' | |||||
420 |
|
420 | |||
421 | def getgid(groupname): |
|
421 | def getgid(groupname): | |
422 | try: |
|
422 | try: | |
423 | gid = grp.getgrnam(groupname).gr_gid |
|
423 | gid = grp.getgrnam(pycompat.fsdecode(groupname)).gr_gid | |
424 | return gid |
|
424 | return gid | |
425 | except KeyError: |
|
425 | except KeyError: | |
426 | return None |
|
426 | return None |
General Comments 0
You need to be logged in to leave comments.
Login now