

@wrap_exceptions
def get_process_gids(self):
    f = open(('/proc/%s/status' % fs.pid))
    try:
        for line in f:
            if line.startswith('Gid:'):
                (_, real, effective, saved, fs) = line.split()
                return nt_gids(int(real), int(effective), int(saved))
        raise RuntimeError('line not found')
    finally:
        f.close()

dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py Process.get_process_gids/VarMisuse@20/31 `self`->`fs`