def set_group_writable(self, group):
        fullgroup = group + ([] if self.owner in group else [self.owner])
        for name in WRITE_NAMES:
            if hasattr(self, name):
                self.__dict__[name].policy = u'closed'
                self.__dict__[name].exceptions = fullgroup
dataset/ETHPy150Open njr0/fish/fish/ls.py/FluidinfoPerms.set_group_writable/original