def gid2name(self, gid): """ """ try: return Group().getgrgid(gid)["gr_name"] except: return str(gid)
def gid2name(self, gid): """ """ try: return Group(self.protocol.cfg).getgrgid(gid)["gr_name"] except: return str(gid)
def gid2name(self, gid): try: return Group().getgrgid(gid)["gr_name"] except Exception: return str(gid)