Fix stat code to return name of group owning the file rather than name of group that the file's owner belongs to.

Followup to #17
This commit is contained in:
Toshio Kuratomi 2015-03-25 08:33:19 -07:00
parent 9464277f4f
commit 515cd6666d

View file

@ -342,7 +342,7 @@ def main():
d['pw_name'] = pw.pw_name
grp_info = grp.getgrgid(pw.pw_gid)
grp_info = grp.getgrgid(st.st_gid)
d['gr_name'] = grp_info.gr_name
except:
pass